wallet api: don't truncate address in subaddress_account

Same behaviour as subaddress.cpp now.
This commit is contained in:
selsta 2019-01-15 20:10:19 +01:00
parent ab6c17cc15
commit 3c1c249922

View file

@ -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))