fix: set inited

This commit is contained in:
Derrick Hammer 2024-01-07 05:23:11 -05:00
parent 3218167b83
commit 29f7563d75
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -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 {