aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2018-12-17 16:48:21 -0800
committerPieter Wuille <[email protected]>2019-01-16 15:46:27 -0800
commit05fde14e3afe6f7156ebb6df6cd0e3ae12635b89 (patch)
treecd906acda4ca6c7233b9d4776e1fc129c6dbdfed /src/test
parentDon't log RandAddSeedPerfmon details (diff)
downloaddiscoin-05fde14e3afe6f7156ebb6df6cd0e3ae12635b89.tar.xz
discoin-05fde14e3afe6f7156ebb6df6cd0e3ae12635b89.zip
Automatically initialize RNG on first use.
Diffstat (limited to 'src/test')
-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 858bb512f..23b207604 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();