fix: lint

This commit is contained in:
Richard Ramos 2022-04-01 17:27:46 -04:00
parent faf8f34fef
commit de949efcf4
1 changed files with 4 additions and 1 deletions

View File

@ -270,7 +270,10 @@ func New(nodeKey string, cfg *Config, logger *zap.Logger, appDB *sql.DB) (*Waku,
} }
if cfg.EnableDiscV5 { if cfg.EnableDiscV5 {
waku.node.DiscV5().Start() err := waku.node.DiscV5().Start()
if err != nil {
return nil, err
}
} }
go func() { go func() {