git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0d7b28e
)
Generate Warning when using default key.
author
Matt Corallo
<matt@bluematt.me>
Thu, 14 Jul 2011 01:28:31 +0000 (
03:28
+0200)
committer
Matt Corallo
<matt@bluematt.me>
Thu, 14 Jul 2011 01:28:31 +0000 (
03:28
+0200)
src/wallet.cpp
patch
|
blob
|
history
diff --git
a/src/wallet.cpp
b/src/wallet.cpp
index
5f7cddf
..
60a00e9
100644
(file)
--- 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;