Skip to content

Commit 4445211

Browse files
committed
[fuzz] Update comment in FillAddrman()
Suggested here: bitcoin/bitcoin#22974 (comment)
1 parent 640476e commit 4445211

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/fuzz/addrman.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ CNetAddr RandAddr(FuzzedDataProvider& fuzzed_data_provider, FastRandomContext& f
7777
/** Fill addrman with lots of addresses from lots of sources. */
7878
void FillAddrman(AddrMan& addrman, FuzzedDataProvider& fuzzed_data_provider)
7979
{
80-
// Add some of the addresses directly to the "tried" table.
81-
80+
// Add a fraction of the addresses to the "tried" table.
8281
// 0, 1, 2, 3 corresponding to 0%, 100%, 50%, 33%
8382
const size_t n = fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 3);
8483

0 commit comments

Comments
 (0)