aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-27 21:23:50 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-27 21:23:50 -0500
commit8b18401ea05b3ce2db537ca82c624a3044729c7b (patch)
tree566e54be437e9d2693468d0de880ff934d662b69
parentMerge pull request #4000 (diff)
parentapi/wallet: add missing arg to wallet2::refresh() (diff)
downloadmonero-8b18401ea05b3ce2db537ca82c624a3044729c7b.tar.xz
Merge pull request #4068
29254fc api/wallet: add missing arg to wallet2::refresh() (stoffu)
-rw-r--r--src/wallet/api/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index e2c4fe7af..3f6bfec9e 100644
--- a/src/wallet/api/wallet.cpp
+++ b/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;
}