Browse Source

Merge pull request #410 from TheBlueMatt/master

Generate Warning when using default key.
miguelfreitas
Gavin Andresen 14 years ago
parent
commit
3fd18faaf6
  1. 3
      src/wallet.cpp

3
src/wallet.cpp

@ -1323,8 +1323,11 @@ vector<unsigned char> CReserveKey::GetReservedKey() @@ -1323,8 +1323,11 @@ 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;
}

Loading…
Cancel
Save