aboutsummaryrefslogtreecommitdiff
path: root/src/test/hash_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/hash_tests.cpp')
-rw-r--r--src/test/hash_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/hash_tests.cpp b/src/test/hash_tests.cpp
index bb7e473248..4e88a0ea51 100644
--- a/src/test/hash_tests.cpp
+++ b/src/test/hash_tests.cpp
@@ -134,7 +134,7 @@ BOOST_AUTO_TEST_CASE(siphash)
for (int i = 0; i < 16; ++i) {
uint64_t k1 = ctx.rand64();
uint64_t k2 = ctx.rand64();
- uint256 x = GetRandHash();
+ uint256 x = insecure_rand256();
uint32_t n = ctx.rand32();
uint8_t nb[4];
WriteLE32(nb, n);