git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
60d2f86
)
Merge pull request #410 from TheBlueMatt/master
author
Gavin Andresen
<gavinandresen@gmail.com>
Thu, 14 Jul 2011 01:29:55 +0000 (18:29 -0700)
committer
Gavin Andresen
<gavinandresen@gmail.com>
Thu, 14 Jul 2011 01:29:55 +0000 (18:29 -0700)
Generate Warning when using default key.
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;