Skip to content

Commit

Permalink
wallet api: don't truncate address in subaddress_account
Browse files Browse the repository at this point in the history
Same behaviour as subaddress.cpp now.
  • Loading branch information
selsta committed Jan 15, 2019
1 parent 094b0c4 commit b8c5f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/api/subaddress_account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit b8c5f55

Please sign in to comment.