aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2021-09-16 00:16:56 +0200
committerMartin Zumsande <mzumsande@gmail.com>2021-09-16 00:50:48 +0200
commit57ce20307e604530f78ef4f0f8d9fb94f80ca81b (patch)
treefd6283075300434f75c0ad77bb429fed482b86da /src/test
parentacf656d540a82e6fc30421590305cfe295eabbb5 (diff)
downloadbitcoin-57ce20307e604530f78ef4f0f8d9fb94f80ca81b.tar.xz
fuzz: allow lower number of sources
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/addrman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/addrman.cpp b/src/test/fuzz/addrman.cpp
index 1781420f4f..95c5a99c1b 100644
--- a/src/test/fuzz/addrman.cpp
+++ b/src/test/fuzz/addrman.cpp
@@ -85,7 +85,7 @@ public:
// 0, 1, 2, 3 corresponding to 0%, 100%, 50%, 33%
const size_t n = m_fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 3);
- const size_t num_sources = m_fuzzed_data_provider.ConsumeIntegralInRange<size_t>(10, 50);
+ const size_t num_sources = m_fuzzed_data_provider.ConsumeIntegralInRange<size_t>(1, 50);
CNetAddr prev_source;
// Use insecure_rand inside the loops instead of m_fuzzed_data_provider because when
// the latter is exhausted it just returns 0.