diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-09-14 13:23:28 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-09-14 13:23:28 -0500 |
| commit | dbe31f63e1c96e0f6ad57643ef57454986b5d336 (patch) | |
| tree | a33043cb7499800f3d95b2cd6c174e7a25f3a88e | |
| parent | b4ac8969a8058249a4c71b10e80e8d25e0818d3c (diff) | |
| parent | 7d3bba5ca0e30f199efbbdf89f7243588bdf1459 (diff) | |
| download | monzero-core-dbe31f63e1c96e0f6ad57643ef57454986b5d336.tar.gz monzero-core-dbe31f63e1c96e0f6ad57643ef57454986b5d336.tar.xz monzero-core-dbe31f63e1c96e0f6ad57643ef57454986b5d336.zip | |
Merge pull request #5899
7d3bba5 wallet2_api: add missing parameter (selsta)
| -rw-r--r-- | src/wallet/api/subaddress_account.cpp | 4 | ||||
| -rw-r--r-- | src/wallet/api/wallet.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/wallet/api/subaddress_account.cpp b/src/wallet/api/subaddress_account.cpp index 9bc9d1d91..eaaddc11f 100644 --- a/src/wallet/api/subaddress_account.cpp +++ b/src/wallet/api/subaddress_account.cpp @@ -64,8 +64,8 @@ void SubaddressAccountImpl::refresh() i, 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)) + cryptonote::print_money(m_wallet->m_wallet->balance(i, false)), + cryptonote::print_money(m_wallet->m_wallet->unlocked_balance(i, false)) )); } } diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index e632b8d23..7120485d5 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -993,12 +993,12 @@ void WalletImpl::setSubaddressLookahead(uint32_t major, uint32_t minor) 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 { - return m_wallet->unlocked_balance(accountIndex); + return m_wallet->unlocked_balance(accountIndex, false); } uint64_t WalletImpl::blockChainHeight() const |
