aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/hex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/hex.cpp')
-rw-r--r--src/test/fuzz/hex.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/test/fuzz/hex.cpp b/src/test/fuzz/hex.cpp
index aed8ac455c..f67b820d11 100644
--- a/src/test/fuzz/hex.cpp
+++ b/src/test/fuzz/hex.cpp
@@ -16,12 +16,7 @@
#include <string>
#include <vector>
-void initialize_hex()
-{
- static const ECCVerifyHandle verify_handle;
-}
-
-FUZZ_TARGET_INIT(hex, initialize_hex)
+FUZZ_TARGET(hex)
{
const std::string random_hex_string(buffer.begin(), buffer.end());
const std::vector<unsigned char> data = ParseHex(random_hex_string);