Skip to content

Commit 57ce203

Browse files
committed
fuzz: allow lower number of sources
1 parent acf656d commit 57ce203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/fuzz/addrman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class CAddrManDeterministic : public CAddrMan
8585
// 0, 1, 2, 3 corresponding to 0%, 100%, 50%, 33%
8686
const size_t n = m_fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 3);
8787

88-
const size_t num_sources = m_fuzzed_data_provider.ConsumeIntegralInRange<size_t>(10, 50);
88+
const size_t num_sources = m_fuzzed_data_provider.ConsumeIntegralInRange<size_t>(1, 50);
8989
CNetAddr prev_source;
9090
// Use insecure_rand inside the loops instead of m_fuzzed_data_provider because when
9191
// the latter is exhausted it just returns 0.

0 commit comments

Comments
 (0)