diff --git a/p2p/simulations/network.go b/p2p/simulations/network.go index 1edea152a1..a020385ffe 100644 --- a/p2p/simulations/network.go +++ b/p2p/simulations/network.go @@ -754,6 +754,11 @@ func (net *Network) Load(snap *Snapshot) error { for { select { case e := <-events: + // Ignore control events as they do not represent + // connect or disconnect (Up) state change. + if e.Control { + continue + } // Detect only connection events. if e.Type != EventTypeConn { continue