mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Merge pull request #4068
29254fc
api/wallet: add missing arg to wallet2::refresh() (stoffu)
This commit is contained in:
commit
8b18401ea0
1 changed files with 1 additions and 1 deletions
|
@ -1966,7 +1966,7 @@ void WalletImpl::doRefresh()
|
||||||
// Syncing daemon and refreshing wallet simultaneously is very resource intensive.
|
// Syncing daemon and refreshing wallet simultaneously is very resource intensive.
|
||||||
// Disable refresh if wallet is disconnected or daemon isn't synced.
|
// Disable refresh if wallet is disconnected or daemon isn't synced.
|
||||||
if (m_wallet->light_wallet() || daemonSynced()) {
|
if (m_wallet->light_wallet() || daemonSynced()) {
|
||||||
m_wallet->refresh();
|
m_wallet->refresh(trustedDaemon());
|
||||||
if (!m_synchronized) {
|
if (!m_synchronized) {
|
||||||
m_synchronized = true;
|
m_synchronized = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue