diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-07 18:23:01 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-08 10:39:54 +0000 |
| commit | 2d7b0236eb85a767261611fb558c841a9f790293 (patch) | |
| tree | ffed9f2048b5e0ef1ec8a1ee6a408a416efbf4ab /src/wallet/wallet2.cpp | |
| parent | 7e957c162ab8192205cb3bb7cfd3be147ffceb22 (diff) | |
| download | monzero-core-2d7b0236eb85a767261611fb558c841a9f790293.tar.gz monzero-core-2d7b0236eb85a767261611fb558c841a9f790293.tar.xz monzero-core-2d7b0236eb85a767261611fb558c841a9f790293.zip | |
wallet2: clear all payments on soft rescan_bc
They'll get duplicated otherwise
Diffstat (limited to 'src/wallet/wallet2.cpp')
| -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 bbb801716..ee54faaa4 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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(); |
