From 44452110f0fa7cc1bcb941a3c7b5db4b492a7b9c Mon Sep 17 00:00:00 2001 From: John Newbery Date: Tue, 21 Sep 2021 11:01:02 +0100 Subject: [PATCH] [fuzz] Update comment in FillAddrman() Suggested here: https://github.com/bitcoin/bitcoin/pull/22974#discussion_r711119626 --- src/test/fuzz/addrman.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/fuzz/addrman.cpp b/src/test/fuzz/addrman.cpp index 297656ac3d..8df3707fc9 100644 --- a/src/test/fuzz/addrman.cpp +++ b/src/test/fuzz/addrman.cpp @@ -77,8 +77,7 @@ CNetAddr RandAddr(FuzzedDataProvider& fuzzed_data_provider, FastRandomContext& f /** Fill addrman with lots of addresses from lots of sources. */ void FillAddrman(AddrMan& addrman, FuzzedDataProvider& fuzzed_data_provider) { - // Add some of the addresses directly to the "tried" table. - + // Add a fraction of the addresses to the "tried" table. // 0, 1, 2, 3 corresponding to 0%, 100%, 50%, 33% const size_t n = fuzzed_data_provider.ConsumeIntegralInRange(0, 3);