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
parent 7e957c162a
commit 2d7b0236eb
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

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