Permalink
Browse files

Merge pull request #4068

29254fc api/wallet: add missing arg to wallet2::refresh() (stoffu)
  • Loading branch information...
luigi1111 committed Jun 28, 2018
2 parents ba0a729 + 29254fc commit 8b18401ea05b3ce2db537ca82c624a3044729c7b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wallet/api/wallet.cpp
@@ -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;
}

0 comments on commit 8b18401

Please sign in to comment.