diff --git a/service/p2p.go b/service/p2p.go index 2ef90f0..9afcd1f 100644 --- a/service/p2p.go +++ b/service/p2p.go @@ -105,6 +105,8 @@ func (p *P2PImpl) Init() error { return err } + p.inited = true + return nil } func (p *P2PImpl) ConnectToNode(connectionUris []*url.URL, retried bool) error {