Skip to content

Commit

Permalink
ethclient: docs, fix misleading comment #26189
Browse files Browse the repository at this point in the history
  • Loading branch information
niuxiaojie81 committed Apr 28, 2024
1 parent 2158a7e commit d60c5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethclient/ethclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func (ec *Client) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header)

// State Access

// NetworkID returns the network ID (also known as the chain ID) for this chain.
// NetworkID returns the network ID for this client.
func (ec *Client) NetworkID(ctx context.Context) (*big.Int, error) {
version := new(big.Int)
var ver string
Expand Down

0 comments on commit d60c5df

Please sign in to comment.