wallet2: clear all payments on soft rescan_bc

They'll get duplicated otherwise
release-v0.5.0
moneromooo-monero 6 years ago committed by wowario
parent 34daa571e3
commit 6c76c778e7
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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();

Loading…
Cancel
Save