diff options
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/simulations/network.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/simulations/network.go b/p2p/simulations/network.go index 6edcefc53..a0e621b88 100644 --- a/p2p/simulations/network.go +++ b/p2p/simulations/network.go @@ -460,7 +460,7 @@ func (net *Network) getRandomNode(ids []enode.ID, excludeIDs []enode.ID) *Node { if l == 0 { return nil } - return net.GetNode(filtered[rand.Intn(l)]) + return net.getNode(filtered[rand.Intn(l)]) } func filterIDs(ids []enode.ID, excludeIDs []enode.ID) []enode.ID { |