mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Clear setInternalKeyPool and setExternalKeyPool instead of setKeyPool
Due to out of order backporting this was missed in the past
This commit is contained in:
parent
e2fefa539d
commit
a309bf372e
@ -3654,7 +3654,8 @@ DBErrors CWallet::ZapSelectTx(vector<uint256>& vHashIn, vector<uint256>& vHashOu
|
||||
if (CDB::Rewrite(strWalletFile, "\x04pool"))
|
||||
{
|
||||
LOCK(cs_wallet);
|
||||
setKeyPool.clear();
|
||||
setInternalKeyPool.clear();
|
||||
setExternalKeyPool.clear();
|
||||
// Note: can't top-up keypool here, because wallet is locked.
|
||||
// User will be prompted to unlock wallet the next operation
|
||||
// that requires a new key.
|
||||
|
Loading…
Reference in New Issue
Block a user