Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
fix(eth): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadoy committed Nov 15, 2023
1 parent 60d737e commit 8f74962
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions eth/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ type (
Has(hash common.Hash) bool
}

// ExecutionLayerNode is the entrypoint for the evm execution environment.
// NetworkingStack is the entrypoint for the evm execution environment.
NetworkingStack interface {
// IsExtRPCEnabled returns true if the networking stack is configured to expose JSON-RPC API.
// ExtRPCEnabled returns true if the networking stack is configured to expose JSON-RPC API.
ExtRPCEnabled() bool

// RegisterHandler manually registers a new handler into the networking stack.
Expand All @@ -72,7 +72,7 @@ type (
// Start starts the networking stack.
Start() error

// Close stops the networking stack
// Close stops the networking stack.
Close() error
}

Expand Down
5 changes: 3 additions & 2 deletions eth/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ func (n *GethExecutionNode) ExtRPCEnabled() bool {
return n.Node.Config().ExtRPCEnabled()
}

// ExtRPCEnabled returns whether or not the external RPC service is enabled.
// EventMux retrieves the event multiplexer used by all the network services in
// the current protocol stack.
func (n *GethExecutionNode) EventMux() *event.TypeMux { //nolint:staticcheck // still in geth.
return n.Node.EventMux()
}

// DefaultConfig returns the default configuration for the provider.
// DefaultGethNodeConfig returns the default configuration for the provider.
func DefaultGethNodeConfig() *node.Config {
nodeCfg := node.DefaultConfig
nodeCfg.P2P.NoDiscovery = true
Expand Down
2 changes: 1 addition & 1 deletion eth/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func ClientName(clientIdentifier string) string {
)
}

// runtimeInfo returns build and platform information about the current binary.
// Info returns build and platform information about the current binary.
//
// If the package that is currently executing is a prefixed by our go-ethereum
// module path, it will print out commit and date VCS information. Otherwise,
Expand Down

0 comments on commit 8f74962

Please sign in to comment.