fix: empty wakuv2 host (#2342)
This commit is contained in:
parent
0c0e02e93a
commit
3463853f5f
|
@ -240,6 +240,10 @@ func (b *StatusNode) wakuV2Service(nodeKey string, wakuCfg *params.WakuV2Config,
|
|||
StoreNodes: clusterCfg.WakuStoreNodes,
|
||||
}
|
||||
|
||||
if cfg.Host == "" {
|
||||
cfg.Host = wakuv2.DefaultConfig.Host
|
||||
}
|
||||
|
||||
if wakuCfg.MaxMessageSize > 0 {
|
||||
cfg.MaxMessageSize = wakuCfg.MaxMessageSize
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue