aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-04-03 03:02:16 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-04-06 20:52:04 +0000
commit2952c46b923042f2de801f319e03ed5c4c4eb735 (patch)
tree0c3566fac09af5be06cd2cd008ac2bbfa8026461 /src/wallet/wallet.cpp
parentd7092c392e10889cd7a080b3d22ed6446a59b87a (diff)
downloadbitcoin-2952c46b923042f2de801f319e03ed5c4c4eb735.tar.xz
Wallet: Replace CAddressBookData.name with GetLabel() method
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp2
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);
}