diff --git a/src/test/fuzz/addrman.cpp b/src/test/fuzz/addrman.cpp index ba0444a6b5..e820e1c314 100644 --- a/src/test/fuzz/addrman.cpp +++ b/src/test/fuzz/addrman.cpp @@ -61,7 +61,7 @@ FUZZ_TARGET_INIT(addrman, initialize_addrman) (void)addr_man.Select(fuzzed_data_provider.ConsumeBool()); }, [&] { - (void)addr_man.GetAddr(fuzzed_data_provider.ConsumeIntegral(), fuzzed_data_provider.ConsumeIntegral()); + (void)addr_man.GetAddr(fuzzed_data_provider.ConsumeIntegralInRange(0, 4096), fuzzed_data_provider.ConsumeIntegralInRange(0, 4096)); }, [&] { const std::optional opt_address = ConsumeDeserializable(fuzzed_data_provider);