mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
Update config.go
This commit is contained in:
parent
bd511af09d
commit
d9a05ce4e2
1 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ type Config struct {
|
||||||
HTTPHost string
|
HTTPHost string
|
||||||
|
|
||||||
// HTTPPort is the TCP port number on which to start the HTTP RPC server. The
|
// HTTPPort is the TCP port number on which to start the HTTP RPC server. The
|
||||||
// default zero value is/ valid and will pick a port number randomly (useful
|
// default zero value is valid and will pick a port number randomly (useful
|
||||||
// for ephemeral nodes).
|
// for ephemeral nodes).
|
||||||
HTTPPort int `toml:",omitempty"`
|
HTTPPort int `toml:",omitempty"`
|
||||||
|
|
||||||
|
|
@ -152,7 +152,7 @@ type Config struct {
|
||||||
WSHost string
|
WSHost string
|
||||||
|
|
||||||
// WSPort is the TCP port number on which to start the websocket RPC server. The
|
// WSPort is the TCP port number on which to start the websocket RPC server. The
|
||||||
// default zero value is/ valid and will pick a port number randomly (useful for
|
// default zero value is valid and will pick a port number randomly (useful for
|
||||||
// ephemeral nodes).
|
// ephemeral nodes).
|
||||||
WSPort int `toml:",omitempty"`
|
WSPort int `toml:",omitempty"`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue