diff --git a/wakuv2/waku.go b/wakuv2/waku.go index 0cc9aa520..9666d3872 100644 --- a/wakuv2/waku.go +++ b/wakuv2/waku.go @@ -270,7 +270,10 @@ func New(nodeKey string, cfg *Config, logger *zap.Logger, appDB *sql.DB) (*Waku, } if cfg.EnableDiscV5 { - waku.node.DiscV5().Start() + err := waku.node.DiscV5().Start() + if err != nil { + return nil, err + } } go func() {