mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
wallet2_api: add missing parameter
This commit is contained in:
parent
d0d76f771a
commit
7d3bba5ca0
2 changed files with 4 additions and 4 deletions
|
@ -64,8 +64,8 @@ void SubaddressAccountImpl::refresh()
|
||||||
i,
|
i,
|
||||||
m_wallet->m_wallet->get_subaddress_as_str({i,0}),
|
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, false)),
|
||||||
cryptonote::print_money(m_wallet->m_wallet->unlocked_balance(i))
|
cryptonote::print_money(m_wallet->m_wallet->unlocked_balance(i, false))
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -993,12 +993,12 @@ void WalletImpl::setSubaddressLookahead(uint32_t major, uint32_t minor)
|
||||||
|
|
||||||
uint64_t WalletImpl::balance(uint32_t accountIndex) const
|
uint64_t WalletImpl::balance(uint32_t accountIndex) const
|
||||||
{
|
{
|
||||||
return m_wallet->balance(accountIndex);
|
return m_wallet->balance(accountIndex, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t WalletImpl::unlockedBalance(uint32_t accountIndex) const
|
uint64_t WalletImpl::unlockedBalance(uint32_t accountIndex) const
|
||||||
{
|
{
|
||||||
return m_wallet->unlocked_balance(accountIndex);
|
return m_wallet->unlocked_balance(accountIndex, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t WalletImpl::blockChainHeight() const
|
uint64_t WalletImpl::blockChainHeight() const
|
||||||
|
|
Loading…
Reference in a new issue