Skip to content

Commit

Permalink
Restore hiding ETH addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl authored Aug 8, 2023
1 parent de8b8ae commit 19d0fed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,11 @@ UniValue ListReceived(interfaces::Chain::Lock& locked_chain, CWallet * const pwa
{
const CTxDestination& address = item_it->first;

// Do not display Eth addresses
if (address.index() == WitV16KeyEthHashType) {
continue;
}

const std::string& label = item_it->second.name;
auto it = mapTally.find(address);
if (it == mapTally.end() && !fIncludeEmpty)
Expand Down

0 comments on commit 19d0fed

Please sign in to comment.