fix: set inited
This commit is contained in:
parent
3218167b83
commit
29f7563d75
|
@ -105,6 +105,8 @@ func (p *P2PImpl) Init() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.inited = true
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (p *P2PImpl) ConnectToNode(connectionUris []*url.URL, retried bool) error {
|
func (p *P2PImpl) ConnectToNode(connectionUris []*url.URL, retried bool) error {
|
||||||
|
|
Loading…
Reference in New Issue