Merge pull request #4956

2d7b0236 wallet2: clear all payments on soft rescan_bc (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-01-06 20:40:06 +02:00
commit b67eb481a7
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 4 additions and 0 deletions

View File

@ -5325,6 +5325,10 @@ void wallet2::rescan_blockchain(bool hard, bool refresh)
m_transfers.clear();
m_key_images.clear();
m_pub_keys.clear();
m_unconfirmed_txs.clear();
m_payments.clear();
m_confirmed_txs.clear();
m_unconfirmed_payments.clear();
m_scanned_pool_txs[0].clear();
m_scanned_pool_txs[1].clear();