aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-09 11:20:14 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-09 11:21:39 +0000
commit8258a9e7a92bc40c2a468ba0a26ca96769dcfdfb (patch)
treee124feb28eb9366dc56773e978dd8b0ccaf84fd3 /src/simplewallet
parentMerge pull request #4969 (diff)
downloadmonero-8258a9e7a92bc40c2a468ba0a26ca96769dcfdfb.tar.xz
wallet: do not check txpool in background mode
This avoids the constant message about needed to run refresh to enter a password. Also mention the txpool when asking for the password if the reason is a pool tx.
Diffstat (limited to 'src/simplewallet')
-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 bdb6d2bfe..5fd0f4c43 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -7770,8 +7770,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;