aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_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/test/test_bitcoin.cpp
parent2d1cc5093949f8ea9487a68724162c8b39035ad8 (diff)
Automatically initialize RNG on first use.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 858bb512fc..23b2076041 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -49,7 +49,6 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName)
: m_path_root(fs::temp_directory_path() / "test_bitcoin" / strprintf("%lu_%i", (unsigned long)GetTime(), (int)(InsecureRandRange(1 << 30))))
{
SHA256AutoDetect();
- RandomInit();
ECC_Start();
SetupEnvironment();
SetupNetworking();