Logically based on #21940
Currently the fuzz test may spend a long time generating random numbers:

Fix that by calling const member functions only once.
Hopefully fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34224
Logically based on #21940
Currently the fuzz test may spend a long time generating random numbers:

Fix that by calling const member functions only once.
Hopefully fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34224
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
No conflicts as of last run.
Concept ACK
Rebased to remove the logical dependency. This is still logically based on #21940, but not strictly required for merging.
cr ACK faf7623106af2e106a3d9777d714d6afeb2bbd83: touches only src/test/fuzz/addrman.cpp