Update config.go

This commit is contained in:
Ocenka 2025-08-04 17:31:37 +01:00 committed by GitHub
parent bd511af09d
commit d9a05ce4e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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