mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-02 21:18:40 +00:00
a
This commit is contained in:
parent
ff4ba843bc
commit
5b3395077e
1 changed files with 0 additions and 1 deletions
|
|
@ -1141,7 +1141,6 @@ func SplitAndTrim(input string) (ret []string) {
|
||||||
// setHTTP creates the HTTP RPC listener interface string from the set
|
// setHTTP creates the HTTP RPC listener interface string from the set
|
||||||
// command line flags, returning empty if the HTTP endpoint is disabled.
|
// command line flags, returning empty if the HTTP endpoint is disabled.
|
||||||
func setHTTP(ctx *cli.Context, cfg *node.Config) {
|
func setHTTP(ctx *cli.Context, cfg *node.Config) {
|
||||||
|
|
||||||
if ctx.Bool(HTTPEnabledFlag.Name) {
|
if ctx.Bool(HTTPEnabledFlag.Name) {
|
||||||
if cfg.HTTPHost == "" {
|
if cfg.HTTPHost == "" {
|
||||||
if HTTPListenProtocolFlag.Name == "unix" {
|
if HTTPListenProtocolFlag.Name == "unix" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue