wallet api: don't truncate address in subaddress_account

Same behaviour as subaddress.cpp now.
release-v0.5.0
selsta 5 years ago committed by wowario
parent 64c7ced3ed
commit 35d09f896b
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -62,7 +62,7 @@ void SubaddressAccountImpl::refresh()
{ {
m_rows.push_back(new SubaddressAccountRow( m_rows.push_back(new SubaddressAccountRow(
i, 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}), 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->balance(i)),
cryptonote::print_money(m_wallet->m_wallet->unlocked_balance(i)) cryptonote::print_money(m_wallet->m_wallet->unlocked_balance(i))

Loading…
Cancel
Save