diff options
Diffstat (limited to 'src/test/compress_tests.cpp')
-rw-r--r-- | src/test/compress_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compress_tests.cpp b/src/test/compress_tests.cpp index 13c2740553..7e17e6ef93 100644 --- a/src/test/compress_tests.cpp +++ b/src/test/compress_tests.cpp @@ -136,7 +136,7 @@ BOOST_AUTO_TEST_CASE(compress_p2pk_scripts_not_on_curve) { XOnlyPubKey x_not_on_curve; do { - x_not_on_curve = XOnlyPubKey(g_insecure_rand_ctx.randbytes(32)); + x_not_on_curve = XOnlyPubKey(m_rng.randbytes(32)); } while (x_not_on_curve.IsFullyValid()); // Check that P2PK script with uncompressed pubkey [=> OP_PUSH65 <0x04 .....> OP_CHECKSIG] |