diff --git a/core/node/groups.go b/core/node/groups.go index 763ad7ea5d0..c6e3c56c96d 100644 --- a/core/node/groups.go +++ b/core/node/groups.go @@ -124,6 +124,9 @@ func LibP2P(bcfg *BuildCfg, cfg *config.Config, userResourceOverrides rcmgr.Part logger.Fatal("Failed to enable `Swarm.RelayClient`, it requires `Swarm.Transports.Network.Relay` to be true.") } } + if enableForgeClient && !cfg.Swarm.Transports.Network.Websocket.WithDefault(true) { + logger.Fatal("Failed to enable `Swarm.ForgeClient`, it requires `Swarm.Transports.Network.Websocket` to be true.") + } // Gather all the options opts := fx.Options(