diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2020-04-03 03:02:16 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2020-04-06 20:52:04 +0000 |
commit | 2952c46b923042f2de801f319e03ed5c4c4eb735 (patch) | |
tree | 0c3566fac09af5be06cd2cd008ac2bbfa8026461 /src/wallet/wallet.cpp | |
parent | d7092c392e10889cd7a080b3d22ed6446a59b87a (diff) | |
download | bitcoin-2952c46b923042f2de801f319e03ed5c4c4eb735.tar.xz |
Wallet: Replace CAddressBookData.name with GetLabel() method
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 9ee3bbd038..724691a506 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3472,7 +3472,7 @@ std::set<CTxDestination> CWallet::GetLabelAddresses(const std::string& label) co { if (item.second.IsChange()) continue; const CTxDestination& address = item.first; - const std::string& strName = item.second.name; + const std::string& strName = item.second.GetLabel(); if (strName == label) result.insert(address); } |