diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:48:31 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:48:31 +0200 |
commit | 085ef96768a89a4e7029c6b62a22a4d74c9e2b3c (patch) | |
tree | 71fbf8cdbc9c9cdaa42274116d35aeed12e7ca41 /src/wallet/wallet2.cpp | |
parent | Merge pull request #2250 (diff) | |
parent | wallet2: clear some missing containers in clear() (diff) | |
download | monero-085ef96768a89a4e7029c6b62a22a4d74c9e2b3c.tar.xz |
Merge pull request #2252
9707998a wallet2: clear some missing containers in clear() (moneromooo-monero)
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 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; } |