aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-15 20:48:31 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-15 20:48:31 +0200
commit085ef96768a89a4e7029c6b62a22a4d74c9e2b3c (patch)
tree71fbf8cdbc9c9cdaa42274116d35aeed12e7ca41 /src/wallet
parentMerge pull request #2250 (diff)
parentwallet2: clear some missing containers in clear() (diff)
downloadmonero-085ef96768a89a4e7029c6b62a22a4d74c9e2b3c.tar.xz
Merge pull request #2252
9707998a wallet2: clear some missing containers in clear() (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 51c772d29..18bf545aa 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -1879,6 +1879,10 @@ bool wallet2::clear()
m_payments.clear();
m_tx_keys.clear();
m_confirmed_txs.clear();
+ m_unconfirmed_payments.clear();
+ m_scanned_pool_txs[0].clear();
+ m_scanned_pool_txs[1].clear();
+ m_address_book.clear();
m_local_bc_height = 1;
return true;
}