diff --git a/node/status_node_services.go b/node/status_node_services.go index 27cca5dc6..73a54d9b6 100644 --- a/node/status_node_services.go +++ b/node/status_node_services.go @@ -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 }