diff options
| author | Pieter Wuille <[email protected]> | 2018-10-31 15:51:57 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2018-12-12 14:28:15 -0800 |
| commit | 022cf47dd7ef8f46e32a184e84f94d1e9f3a495c (patch) | |
| tree | 2e46f41779ed1e98cfc061ca73397b238b03b7b0 /src/test/test_bitcoin.cpp | |
| parent | Make unit tests use the insecure_rand_ctx exclusively (diff) | |
| download | discoin-022cf47dd7ef8f46e32a184e84f94d1e9f3a495c.tar.xz discoin-022cf47dd7ef8f46e32a184e84f94d1e9f3a495c.zip | |
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 f7874e688..9b4076d95 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(); |