aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-01-04 16:34:39 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2015-01-04 16:37:24 +0100
commit9a5cabf3da21f1707c9c38891f4095862b7abe16 (patch)
tree44ac8be731fd6b3b0fa29cb332922e538462b135 /src/key.cpp
parente8a6639176f6da9508b4b71e612fcadbf86dd536 (diff)
parent146c0a7c5acc06070badf1db442520fab5395614 (diff)
Merge pull request #5508
146c0a7 Add RandAddSeedPerfmon to MakeNewKey (21E14)
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 7f1cef1708..f09536fbbe 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));