Merge pull request #5074

b8c5f550 wallet api: don't truncate address in subaddress_account (selsta)
This commit is contained in:
Riccardo Spagni 2019-01-28 21:33:33 +02:00
commit c07c907114
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

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