diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index e1a56d5dce..e55b3ca5bb 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1141,7 +1141,6 @@ func SplitAndTrim(input string) (ret []string) { // setHTTP creates the HTTP RPC listener interface string from the set // command line flags, returning empty if the HTTP endpoint is disabled. func setHTTP(ctx *cli.Context, cfg *node.Config) { - if ctx.Bool(HTTPEnabledFlag.Name) { if cfg.HTTPHost == "" { if HTTPListenProtocolFlag.Name == "unix" {