mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Merge pull request #5508
146c0a7 Add RandAddSeedPerfmon to MakeNewKey (21E14)
This commit is contained in:
@@ -34,6 +34,7 @@ bool CKey::Check(const unsigned char *vch) {
|
||||
}
|
||||
|
||||
void CKey::MakeNewKey(bool fCompressedIn) {
|
||||
RandAddSeedPerfmon();
|
||||
do {
|
||||
GetRandBytes(vch, sizeof(vch));
|
||||
} while (!Check(vch));
|
||||
|
||||
Reference in New Issue
Block a user