Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos committed Apr 1, 2022
1 parent faf8f34 commit de949ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wakuv2/waku.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit de949ef

Please sign in to comment.