mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
Merge pull request #410 from TheBlueMatt/master
Generate Warning when using default key.
This commit is contained in:
commit
3fd18faaf6
@ -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…
Reference in New Issue
Block a user