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/prevector_tests.cpp | |
parent | fd3e7973ffaaa15ed32e5aeadcb02956849b8fc7 (diff) |
Simplify testing RNG code
Diffstat (limited to 'src/test/prevector_tests.cpp')
-rw-r--r-- | src/test/prevector_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/prevector_tests.cpp b/src/test/prevector_tests.cpp index c488d3edcf..7341389208 100644 --- a/src/test/prevector_tests.cpp +++ b/src/test/prevector_tests.cpp @@ -189,8 +189,8 @@ public: prevector_tester() { SeedInsecureRand(); - rand_seed = insecure_rand_seed; - rand_cache = insecure_rand_ctx; + rand_seed = InsecureRand256(); + rand_cache = FastRandomContext(rand_seed); } }; |