aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/block.cpp')
-rw-r--r--src/test/fuzz/block.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fuzz/block.cpp b/src/test/fuzz/block.cpp
index 91bd34a251..65a33de4b4 100644
--- a/src/test/fuzz/block.cpp
+++ b/src/test/fuzz/block.cpp
@@ -17,13 +17,13 @@
#include <cassert>
#include <string>
-void initialize()
+void initialize_block()
{
static const ECCVerifyHandle verify_handle;
SelectParams(CBaseChainParams::REGTEST);
}
-void test_one_input(const std::vector<uint8_t>& buffer)
+FUZZ_TARGET_INIT(block, initialize_block)
{
CDataStream ds(buffer, SER_NETWORK, INIT_PROTO_VERSION);
CBlock block;