mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
api/wallet: add missing arg to wallet2::refresh()
This commit is contained in:
parent
ba0a7294d0
commit
29254fc06e
@ -1966,7 +1966,7 @@ void WalletImpl::doRefresh()
|
||||
// Syncing daemon and refreshing wallet simultaneously is very resource intensive.
|
||||
// Disable refresh if wallet is disconnected or daemon isn't synced.
|
||||
if (m_wallet->light_wallet() || daemonSynced()) {
|
||||
m_wallet->refresh();
|
||||
m_wallet->refresh(trustedDaemon());
|
||||
if (!m_synchronized) {
|
||||
m_synchronized = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user