fix: pass status-go logger to go-waku

This commit is contained in:
Richard Ramos 2022-10-20 12:14:11 -04:00 committed by RichΛrd
parent cd34538937
commit 4bf5fcfe61
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ func New(nodeKey string, cfg *Config, logger *zap.Logger, appDB *sql.DB) (*Waku,
node.WithHostAddress(hostAddr), node.WithHostAddress(hostAddr),
node.WithConnectionStatusChannel(connStatusChan), node.WithConnectionStatusChannel(connStatusChan),
node.WithKeepAlive(time.Duration(cfg.KeepAliveInterval) * time.Second), node.WithKeepAlive(time.Duration(cfg.KeepAliveInterval) * time.Second),
node.WithLogger(logger),
} }
if cfg.Rendezvous { if cfg.Rendezvous {