aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-06-24 10:19:41 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-06-24 10:19:44 +0200
commite0a7801223fd573863939e76cb633f1dcc2d22c4 (patch)
tree56b1605a34ee3de56cac184225800954fd45e28c
parent8c841a31a91ffe7e449c4733d14664b79cb39378 (diff)
parent5155d1101eb4fc9d4d797b583bb29f71807bd10b (diff)
Merge #10662: Initialize randomness in benchmarks
5155d11 Initialize randomness in benchmarks (Andrew Chow) Tree-SHA512: 235006eb161893e1a84d5b2747cbaf7c82ced179ab2b9df30197b4cb2d3c4f31e47fa5b9cf62aced0fe244da47f3a38fbbe91fe86b0a90f1d86604da5d806fb1
-rw-r--r--src/bench/bench_bitcoin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bench/bench_bitcoin.cpp b/src/bench/bench_bitcoin.cpp
index 61a0b31aed..226861aa7f 100644
--- a/src/bench/bench_bitcoin.cpp
+++ b/src/bench/bench_bitcoin.cpp
@@ -7,10 +7,12 @@
#include "key.h"
#include "validation.h"
#include "util.h"
+#include "random.h"
int
main(int argc, char** argv)
{
+ RandomInit();
ECC_Start();
SetupEnvironment();
fPrintToDebugLog = false; // don't want to write to debug.log file