diff options
author | John Newbery <john@johnnewbery.com> | 2021-09-21 11:01:02 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-10-05 16:59:09 +0100 |
commit | 44452110f0fa7cc1bcb941a3c7b5db4b492a7b9c (patch) | |
tree | 5228e1a9e57bfe4c9b9ed2dc64f051645412dc96 | |
parent | 640476eb0e17fd4c64d4840ceab229642f1d79d9 (diff) |
[fuzz] Update comment in FillAddrman()
Suggested here: https://github.com/bitcoin/bitcoin/pull/22974#discussion_r711119626
-rw-r--r-- | src/test/fuzz/addrman.cpp | 3 |
1 files changed, 1 insertions, 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<size_t>(0, 3); |