diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-10-31 15:51:57 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-12-12 14:28:15 -0800 |
commit | 022cf47dd7ef8f46e32a184e84f94d1e9f3a495c (patch) | |
tree | 2e46f41779ed1e98cfc061ca73397b238b03b7b0 /src/test/test_bitcoin.cpp | |
parent | fd3e7973ffaaa15ed32e5aeadcb02956849b8fc7 (diff) | |
download | bitcoin-022cf47dd7ef8f46e32a184e84f94d1e9f3a495c.tar.xz |
Simplify testing RNG code
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r-- | src/test/test_bitcoin.cpp | 3 |
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(); |