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