mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 14:20:21 -04:00
Merge pull request #5056
8258a9e7
wallet: do not check txpool in background mode (moneromooo-monero)
This commit is contained in:
commit
756ed760f7
3 changed files with 11 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue