aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/subaddress_account.cpp
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-01-15 20:10:19 +0100
committerselsta <selsta@sent.at>2019-01-15 22:19:50 +0100
commitb8c5f550c18779c64d2b90c85ab25cddc7162042 (patch)
tree7dc0c47296aa0130fa12c1c119002b41d22a9dd0 /src/wallet/api/subaddress_account.cpp
parentMerge pull request #5045 (diff)
downloadmonero-b8c5f550c18779c64d2b90c85ab25cddc7162042.tar.xz
wallet api: don't truncate address in subaddress_account
Same behaviour as subaddress.cpp now.
Diffstat (limited to '')
-rw-r--r--src/wallet/api/subaddress_account.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/subaddress_account.cpp b/src/wallet/api/subaddress_account.cpp
index 19ed8fb38..4765465c3 100644
--- a/src/wallet/api/subaddress_account.cpp
+++ b/src/wallet/api/subaddress_account.cpp
@@ -62,7 +62,7 @@ void SubaddressAccountImpl::refresh()
{
m_rows.push_back(new SubaddressAccountRow(
i,
- m_wallet->m_wallet->get_subaddress_as_str({i,0}).substr(0,6),
+ m_wallet->m_wallet->get_subaddress_as_str({i,0}),
m_wallet->m_wallet->get_subaddress_label({i,0}),
cryptonote::print_money(m_wallet->m_wallet->balance(i)),
cryptonote::print_money(m_wallet->m_wallet->unlocked_balance(i))