From 4b406bcf576c5439ad4665ed5ca5aec7497649a2 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 7 Jan 2024 04:17:19 -0500 Subject: [PATCH] fix: need to init and setup P2P service --- node/node.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/node/node.go b/node/node.go index fd2b5a1..dfe5766 100644 --- a/node/node.go +++ b/node/node.go @@ -77,6 +77,16 @@ func (n *NodeImpl) Start() error { 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 return nil }