aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-06-28 10:20:01 +0900
committerstoffu <stoffu@protonmail.ch>2018-06-28 10:24:05 +0900
commit29254fc06eca6a1696aca2bd02bc5cb69803f01f (patch)
tree566e54be437e9d2693468d0de880ff934d662b69 /src/wallet/api
parentMerge pull request #4000 (diff)
downloadmonero-29254fc06eca6a1696aca2bd02bc5cb69803f01f.tar.xz
api/wallet: add missing arg to wallet2::refresh()
Diffstat (limited to 'src/wallet/api')
-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;
}