aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-14 13:38:21 -0400
committerJohn Newbery <john@johnnewbery.com>2017-08-16 17:23:20 -0400
commit67ceff4039ae038ae16f06128f868a2e8395b59a (patch)
tree81ad3f92854238b67c303040011b56a9506d8a49 /src
parent1221f60c94971c0f66abe5fdf086087a173bb0ac (diff)
downloadbitcoin-67ceff4039ae038ae16f06128f868a2e8395b59a.tar.xz
[wallet] Add logging to MarkReserveKeysAsUsed
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index aa0713ea03..680c5ed9b3 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -3659,6 +3659,7 @@ void CWallet::MarkReserveKeysAsUsed(int64_t keypool_id)
m_pool_key_to_index.erase(keypool.vchPubKey.GetID());
}
walletdb.ErasePool(index);
+ LogPrintf("keypool index %d removed\n", index);
it = setKeyPool->erase(it);
}
}