Permalink
Browse files

api/wallet: add missing arg to wallet2::refresh()

  • Loading branch information...
stoffu committed Jun 28, 2018
1 parent ba0a729 commit 29254fc06eca6a1696aca2bd02bc5cb69803f01f
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 29254fc

Please sign in to comment.