aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/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/interfaces/wallet.cpp
parentd7092c392e10889cd7a080b3d22ed6446a59b87a (diff)
Wallet: Replace CAddressBookData.name with GetLabel() method
Diffstat (limited to 'src/interfaces/wallet.cpp')
-rw-r--r--src/interfaces/wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp
index d55b92a5ff..abce09ca4a 100644
--- a/src/interfaces/wallet.cpp
+++ b/src/interfaces/wallet.cpp
@@ -156,7 +156,7 @@ public:
return false;
}
if (name) {
- *name = it->second.name;
+ *name = it->second.GetLabel();
}
if (is_mine) {
*is_mine = m_wallet->IsMine(dest);
@@ -172,7 +172,7 @@ public:
std::vector<WalletAddress> result;
for (const auto& item : m_wallet->m_address_book) {
if (item.second.IsChange()) continue;
- result.emplace_back(item.first, m_wallet->IsMine(item.first), item.second.name, item.second.purpose);
+ result.emplace_back(item.first, m_wallet->IsMine(item.first), item.second.GetLabel(), item.second.purpose);
}
return result;
}