aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-28 21:27:34 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-28 21:27:34 +0200
commit756ed760f79d3d44f3a7b306168c376cf57442c3 (patch)
tree737e46ae98407893863789ddab8ee85c97d6f603 /src/simplewallet/simplewallet.cpp
parentMerge pull request #5055 (diff)
parentwallet: do not check txpool in background mode (diff)
downloadmonero-756ed760f79d3d44f3a7b306168c376cf57442c3.tar.xz
Merge pull request #5056
8258a9e7 wallet: do not check txpool in background mode (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r--src/simplewallet/simplewallet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 4856405b5..3cbfb760b 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -7827,8 +7827,9 @@ void simple_wallet::wallet_idle_thread()
try
{
uint64_t fetched_blocks;
+ bool received_money;
if (try_connect_to_daemon(true))
- m_wallet->refresh(m_wallet->is_trusted_daemon(), 0, fetched_blocks);
+ m_wallet->refresh(m_wallet->is_trusted_daemon(), 0, fetched_blocks, received_money, false); // don't check the pool in background mode
}
catch(...) {}
m_auto_refresh_refreshing = false;