diff --git a/service/default/p2p.go b/service/default/p2p.go index 1657b2c..c6562d2 100644 --- a/service/default/p2p.go +++ b/service/default/p2p.go @@ -131,7 +131,9 @@ func (p *P2PServiceDefault) Init(ctx context.Context) error { } func (p *P2PServiceDefault) ConnectToNode(connectionUris []*url.URL, retried bool, fromPeer net.Peer) error { if !p.Services().IsStarted() { - return nil + if !p.Services().IsStarting() { + return nil + } } unsupported, _ := url.Parse("http://0.0.0.0")