This commit is contained in:
parent
ff4ba843bc
commit
5b3395077e
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue