Merge pull request #2252

9707998a wallet2: clear some missing containers in clear() (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-08-15 20:48:31 +02:00
commit 085ef96768
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -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;
}