aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/key.cpp
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2024-05-07 08:54:19 -0400
committerTheCharlatan <seb.kung@gmail.com>2024-05-09 15:56:04 +0200
commit28905c1a64a87a56f16aea8a4d23dea7eec9ca59 (patch)
tree27655277f59883700675175957e264473528f2b2 /src/test/fuzz/key.cpp
parent538fedde1d9c96a2bbe06cacc0cd6903135fbc83 (diff)
test: Use ECC_Context helper in bench and fuzz tests
Diffstat (limited to 'src/test/fuzz/key.cpp')
-rw-r--r--src/test/fuzz/key.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/key.cpp b/src/test/fuzz/key.cpp
index 9e1e318e02..d389a29575 100644
--- a/src/test/fuzz/key.cpp
+++ b/src/test/fuzz/key.cpp
@@ -32,7 +32,7 @@
void initialize_key()
{
- ECC_Start();
+ static ECC_Context ecc_context{};
SelectParams(ChainType::REGTEST);
}