forked from mirror/go-ethereum
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?revert-23120-drop-eth-65
parent
b157bae2c9
commit
8f11d279d2
Loading…
Reference in new issue