aboutsummaryrefslogtreecommitdiff
path: root/src/bench/bench_bitcoin.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-12-17 16:48:21 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2019-01-16 15:46:27 -0800
commit05fde14e3afe6f7156ebb6df6cd0e3ae12635b89 (patch)
treecd906acda4ca6c7233b9d4776e1fc129c6dbdfed /src/bench/bench_bitcoin.cpp
parent2d1cc5093949f8ea9487a68724162c8b39035ad8 (diff)
Automatically initialize RNG on first use.
Diffstat (limited to 'src/bench/bench_bitcoin.cpp')
-rw-r--r--src/bench/bench_bitcoin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bench/bench_bitcoin.cpp b/src/bench/bench_bitcoin.cpp
index 32faba86b4..b804a84478 100644
--- a/src/bench/bench_bitcoin.cpp
+++ b/src/bench/bench_bitcoin.cpp
@@ -6,7 +6,6 @@
#include <crypto/sha256.h>
#include <key.h>
-#include <random.h>
#include <util/system.h>
#include <util/strencodings.h>
#include <validation.h>
@@ -67,7 +66,6 @@ int main(int argc, char** argv)
const fs::path bench_datadir{SetDataDir()};
SHA256AutoDetect();
- RandomInit();
ECC_Start();
SetupEnvironment();