Browse Source

[wallet] Add logging to MarkReserveKeysAsUsed

0.16
John Newbery 7 years ago
parent
commit
67ceff4039
  1. 1
      src/wallet/wallet.cpp

1
src/wallet/wallet.cpp

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

Loading…
Cancel
Save