mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
fix typo
This commit is contained in:
parent
1719237366
commit
f1564c7106
3 changed files with 3 additions and 3 deletions
|
|
@ -241,7 +241,7 @@ func startNode(ctx *cli.Context, stack *node.Node) {
|
|||
stack.AccountManager().Subscribe(events)
|
||||
|
||||
go func() {
|
||||
// Create an chain state reader for self-derivation
|
||||
// Create a chain state reader for self-derivation
|
||||
rpcClient, err := stack.Attach()
|
||||
if err != nil {
|
||||
utils.Fatalf("Failed to attach to self: %v", err)
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ func NewPublicDownloaderAPI(d *Downloader, m *event.TypeMux) *PublicDownloaderAP
|
|||
return api
|
||||
}
|
||||
|
||||
// eventLoop runs an loop until the event mux closes. It will install and uninstall new
|
||||
// eventLoop runs a loop until the event mux closes. It will install and uninstall new
|
||||
// sync subscriptions and broadcasts sync status updates to the installed sync subscriptions.
|
||||
func (api *PublicDownloaderAPI) eventLoop() {
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ func DefaultHTTPEndpoint() string {
|
|||
return config.HTTPEndpoint()
|
||||
}
|
||||
|
||||
// WSEndpoint resolves an websocket endpoint based on the configured host interface
|
||||
// WSEndpoint resolves a websocket endpoint based on the configured host interface
|
||||
// and port parameters.
|
||||
func (c *Config) WSEndpoint() string {
|
||||
if c.WSHost == "" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue