aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index 5f7cddf57e..60a00e9208 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -1323,7 +1323,10 @@ vector<unsigned char> CReserveKey::GetReservedKey()
if (nIndex != -1)
vchPubKey = keypool.vchPubKey;
else
+ {
+ printf("CReserveKey::GetReservedKey(): Warning: using default key instead of a new key, top up your keypool.");
vchPubKey = vchDefaultKey;
+ }
}
assert(!vchPubKey.empty());
return vchPubKey;