From 462d98b1aaaeaedb6510c8d0460209b91e484acf Mon Sep 17 00:00:00 2001 From: stoffu Date: Thu, 28 Jun 2018 10:20:01 +0900 Subject: [PATCH] api/wallet: add missing arg to wallet2::refresh() /monero#4068 --- src/wallet/api/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 182240a59e3..cdac0df470d 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -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; }