(ctx *cli.Context, cfg *config.WebSocketConfig)
| 164 | } |
| 165 | |
| 166 | func setWebSocketConfig(ctx *cli.Context, cfg *config.WebSocketConfig) { |
| 167 | cfg.EnableHttpWs = ctx.Bool(utils.GetFlagName(utils.WsEnabledFlag)) |
| 168 | cfg.HttpWsPort = ctx.Uint(utils.GetFlagName(utils.WsPortFlag)) |
| 169 | } |
| 170 | |
| 171 | func SetRpcPort(ctx *cli.Context) { |
| 172 | if ctx.IsSet(utils.GetFlagName(utils.RPCPortFlag)) { |
no test coverage detected