Merge pull request #6097

27457a2 wallet2: fix pool txes not being flushed when mined (moneromooo-monero)
This commit is contained in:
luigi1111 2019-11-11 15:45:26 -06:00
commit fe3f6a3e6b
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -3277,7 +3277,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
// leak allowing a passive adversary with traffic analysis capability to // leak allowing a passive adversary with traffic analysis capability to
// infer when we get an incoming output // infer when we get an incoming output
std::vector<std::pair<cryptonote::transaction, bool>> process_pool_txs; std::vector<std::pair<cryptonote::transaction, bool>> process_pool_txs;
update_pool_state(process_pool_txs, refreshed); update_pool_state(process_pool_txs, true);
bool first = true, last = false; bool first = true, last = false;
while(m_run.load(std::memory_order_relaxed)) while(m_run.load(std::memory_order_relaxed))