@@ -21,17 +21,17 @@ FUZZ_TARGET(node_eviction)
2121 std::vector<NodeEvictionCandidate> eviction_candidates;
2222 while (fuzzed_data_provider.ConsumeBool ()) {
2323 eviction_candidates.push_back ({
24- fuzzed_data_provider.ConsumeIntegral <NodeId>(),
25- fuzzed_data_provider.ConsumeIntegral <int64_t >(),
26- fuzzed_data_provider.ConsumeIntegral <int64_t >(),
27- fuzzed_data_provider.ConsumeIntegral <int64_t >(),
28- fuzzed_data_provider.ConsumeIntegral <int64_t >(),
29- fuzzed_data_provider.ConsumeBool (),
30- fuzzed_data_provider.ConsumeBool (),
31- fuzzed_data_provider.ConsumeBool (),
32- fuzzed_data_provider.ConsumeIntegral <uint64_t >(),
33- fuzzed_data_provider.ConsumeBool (),
34- fuzzed_data_provider.ConsumeBool (),
24+ /* id */ fuzzed_data_provider.ConsumeIntegral <NodeId>(),
25+ /* nTimeConnected */ fuzzed_data_provider.ConsumeIntegral <int64_t >(),
26+ /* m_min_ping_time */ std::chrono::microseconds{ fuzzed_data_provider.ConsumeIntegral <int64_t >()} ,
27+ /* nLastBlockTime */ fuzzed_data_provider.ConsumeIntegral <int64_t >(),
28+ /* nLastTXTime */ fuzzed_data_provider.ConsumeIntegral <int64_t >(),
29+ /* fRelevantServices */ fuzzed_data_provider.ConsumeBool (),
30+ /* fRelayTxes */ fuzzed_data_provider.ConsumeBool (),
31+ /* fBloomFilter */ fuzzed_data_provider.ConsumeBool (),
32+ /* nKeyedNetGroup */ fuzzed_data_provider.ConsumeIntegral <uint64_t >(),
33+ /* prefer_evict */ fuzzed_data_provider.ConsumeBool (),
34+ /* m_is_local */ fuzzed_data_provider.ConsumeBool (),
3535 });
3636 }
3737 // Make a copy since eviction_candidates may be in some valid but otherwise
0 commit comments