diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test/fuzz/connman.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/fuzz/connman.cpp b/src/test/fuzz/connman.cpp index 66f1e19b65..8f5f6a6071 100644 --- a/src/test/fuzz/connman.cpp +++ b/src/test/fuzz/connman.cpp @@ -40,7 +40,9 @@ FUZZ_TARGET(connman, .init = initialize_connman) fuzzed_data_provider.ConsumeBool()}; const uint64_t max_outbound_limit{fuzzed_data_provider.ConsumeIntegral<uint64_t>()}; - connman.Init({ .nMaxOutboundLimit = max_outbound_limit }); + CConnman::Options options; + options.nMaxOutboundLimit = max_outbound_limit; + connman.Init(options); CNetAddr random_netaddr; CNode random_node = ConsumeNode(fuzzed_data_provider); |