Skip to content

Commit

Permalink
Add const
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl committed Oct 23, 2023
1 parent bbbbbd3 commit 8fc1bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4322,7 +4322,7 @@ UniValue addressmap(const JSONRPCRequest &request) {
if (key.IsCompressed()) {
key.Decompress();
}
auto erc55 = EncodeDestination(WitnessV16EthHash(key));
const auto erc55 = EncodeDestination(WitnessV16EthHash(key));
// Check if it's in the wallet.
// Note: Can be removed if the full wallet is migrated.
// Ref: https://github.com/DeFiCh/ain/issues/2604
Expand Down

0 comments on commit 8fc1bfa

Please sign in to comment.