wallet2: clear all payments on soft rescan_bc

They'll get duplicated otherwise
This commit is contained in:
moneromooo-monero 2018-12-07 18:23:01 +00:00 committed by wowario
parent 34daa571e3
commit 6c76c778e7
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

View File

@ -5324,6 +5324,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();