aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
diff options
context:
space:
mode:
author21E14 <21xe14@gmail.com>2014-12-18 20:25:04 -0500
committer21E14 <21xe14@gmail.com>2014-12-18 20:25:04 -0500
commit146c0a7c5acc06070badf1db442520fab5395614 (patch)
tree0acec304d716685c5f4c0ceea3fc3167770e24d9 /src/key.cpp
parent4444b879bc1da56fffa4cb4cf31a276a795f43b9 (diff)
Add RandAddSeedPerfmon to MakeNewKey
Diffstat (limited to 'src/key.cpp')
-rw-r--r--src/key.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/key.cpp b/src/key.cpp
index 36613342b8..3d5886d350 100644
--- a/src/key.cpp
+++ b/src/key.cpp
@@ -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));