fix: need to init and setup P2P service

This commit is contained in:
Derrick Hammer 2024-01-07 04:17:19 -05:00
parent 311b03737c
commit 4b406bcf57
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 10 additions and 0 deletions

View File

@ -77,6 +77,16 @@ func (n *NodeImpl) Start() error {
return err return err
} }
err = n.Services().P2P().Init()
if err != nil {
return err
}
err = n.Services().P2P().Start()
if err != nil {
return err
}
n.started = true n.started = true
return nil return nil
} }