[wallet] Add logging to MarkReserveKeysAsUsed
This commit is contained in:
1 parent
1221f60c94
commit
67ceff4039
1 file changed
+1
@@ -3659,6 +3659,7 @@ void CWallet::MarkReserveKeysAsUsed(int64_t keypool_id)
|
|||||||
m_pool_key_to_index.erase(keypool.vchPubKey.GetID());
|
m_pool_key_to_index.erase(keypool.vchPubKey.GetID());
|
||||||
}
|
}
|
||||||
walletdb.ErasePool(index);
|
walletdb.ErasePool(index);
|
||||||
|
LogPrintf("keypool index %d removed\n", index);
|
||||||
it = setKeyPool->erase(it);
|
it = setKeyPool->erase(it);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user