good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 8f11d279 authored by Evolution404's avatar Evolution404 Committed by GitHub
Browse files

p2p/simulations: fix unlikely crash in probabilistic connect (#23200)

When the nodeCount is less than 10, it will panic with the out of bound error.
How about we just skip this round, when rand1 and rand2 are equal?
parent b157bae2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment