diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-06 20:40:06 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-06 20:40:06 +0200 |
commit | b67eb481a7af38e1b764c8619d60cc429985453d (patch) | |
tree | ba7aa25fa53bfb301f583441b22264f1afbc3ee8 /src | |
parent | Merge pull request #4954 (diff) | |
parent | wallet2: clear all payments on soft rescan_bc (diff) | |
download | monero-b67eb481a7af38e1b764c8619d60cc429985453d.tar.xz |
Merge pull request #4956
2d7b0236 wallet2: clear all payments on soft rescan_bc (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet2.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 98f0a7f68..2080c1832 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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(); |