This commit is contained in:
a 2024-03-24 18:35:02 -05:00
parent ff4ba843bc
commit 5b3395077e
No known key found for this signature in database
GPG Key ID: 374BC539FE795AF0
1 changed files with 0 additions and 1 deletions

View File

@ -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" {