mirror of
https://codeberg.org/nahuhh/wownero
synced 2026-11-25 13:54:21 +01:00
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.
This commit is contained in:
@@ -7703,8 +7703,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;
|
||||
|
||||
Reference in New Issue
Block a user