diff options
author | Pieter Wuille <pieter@wuille.net> | 2024-05-31 10:39:23 -0400 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2024-07-01 12:39:57 -0400 |
commit | ce8094246ee95232e9d84f7e37f3c0a43ef587ce (patch) | |
tree | bf4e750a2192039d3bfd5515d93fdd576ddd05dd /src/test/random_tests.cpp | |
parent | 2ae392d561ecfdf81855e6df6b9ad3d8843cdfa2 (diff) |
random: replace construct/assign with explicit Reseed()
Diffstat (limited to 'src/test/random_tests.cpp')
-rw-r--r-- | src/test/random_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/random_tests.cpp b/src/test/random_tests.cpp index b7479d310c..9fa7135b77 100644 --- a/src/test/random_tests.cpp +++ b/src/test/random_tests.cpp @@ -253,7 +253,7 @@ BOOST_AUTO_TEST_CASE(xoroshiro128plusplus_reference_values) BOOST_TEST(0x6ea7c59f89bbfc75 == rng()); // seed with a random number - rng = InsecureRandomContext(0x1a26f3fa8546b47a); + rng.Reseed(0x1a26f3fa8546b47a); BOOST_TEST(0xc8dc5e08d844ac7d == rng()); BOOST_TEST(0x5b5f1f6d499dad1b == rng()); BOOST_TEST(0xbeb0031f93313d6f == rng()); |