Skip to content

Commit

Permalink
api/wallet: add missing arg to wallet2::refresh() /monero#4068
Browse files Browse the repository at this point in the history
  • Loading branch information
stoffu committed Nov 6, 2018
1 parent c1a1d6e commit 462d98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/api/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,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;
}
Expand Down

0 comments on commit 462d98b

Please sign in to comment.