aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-10-31 15:51:57 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-12-12 14:28:15 -0800
commit022cf47dd7ef8f46e32a184e84f94d1e9f3a495c (patch)
tree2e46f41779ed1e98cfc061ca73397b238b03b7b0 /src/test/test_bitcoin.cpp
parentfd3e7973ffaaa15ed32e5aeadcb02956849b8fc7 (diff)
downloadbitcoin-022cf47dd7ef8f46e32a184e84f94d1e9f3a495c.tar.xz
Simplify testing RNG code
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index f7874e6882..9b4076d956 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -36,8 +36,7 @@ void CConnmanTest::ClearNodes()
g_connman->vNodes.clear();
}
-uint256 insecure_rand_seed = GetRandHash();
-FastRandomContext insecure_rand_ctx(insecure_rand_seed);
+FastRandomContext insecure_rand_ctx;
extern bool fPrintToConsole;
extern void noui_connect();