aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/block_header.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/block_header.cpp')
-rw-r--r--src/test/fuzz/block_header.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/block_header.cpp b/src/test/fuzz/block_header.cpp
index 09c2b4a951..c73270dcb3 100644
--- a/src/test/fuzz/block_header.cpp
+++ b/src/test/fuzz/block_header.cpp
@@ -14,7 +14,7 @@
#include <string>
#include <vector>
-void test_one_input(const std::vector<uint8_t>& buffer)
+FUZZ_TARGET(block_header)
{
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
const std::optional<CBlockHeader> block_header = ConsumeDeserializable<CBlockHeader>(fuzzed_data_provider);