Explorar o código

node: fix typo hvosts -> vhosts (#16096)

GuiltyMorishita %!s(int64=7) %!d(string=hai) anos
pai
achega
e2f2bb3e2e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      node/node.go

+ 1 - 1
node/node.go

@@ -394,7 +394,7 @@ func (n *Node) startHTTP(endpoint string, apis []rpc.API, modules []string, cors
 		return err
 		return err
 	}
 	}
 	go rpc.NewHTTPServer(cors, vhosts, handler).Serve(listener)
 	go rpc.NewHTTPServer(cors, vhosts, handler).Serve(listener)
-	n.log.Info("HTTP endpoint opened", "url", fmt.Sprintf("http://%s", endpoint), "cors", strings.Join(cors, ","), "hvosts", strings.Join(vhosts, ","))
+	n.log.Info("HTTP endpoint opened", "url", fmt.Sprintf("http://%s", endpoint), "cors", strings.Join(cors, ","), "vhosts", strings.Join(vhosts, ","))
 	// All listeners booted successfully
 	// All listeners booted successfully
 	n.httpEndpoint = endpoint
 	n.httpEndpoint = endpoint
 	n.httpListener = listener
 	n.httpListener = listener