aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-06 20:40:06 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-06 20:40:06 +0200
commitb67eb481a7af38e1b764c8619d60cc429985453d (patch)
treeba7aa25fa53bfb301f583441b22264f1afbc3ee8 /src/wallet
parentMerge pull request #4954 (diff)
parentwallet2: clear all payments on soft rescan_bc (diff)
downloadmonero-b67eb481a7af38e1b764c8619d60cc429985453d.tar.xz
Merge pull request #4956
2d7b0236 wallet2: clear all payments on soft rescan_bc (moneromooo-monero)
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp4
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();