Skip to content

Commit

Permalink
ethclient: docs, fix misleading comment (#26189)
Browse files Browse the repository at this point in the history
closes #26188
  • Loading branch information
ligi authored Nov 16, 2022
1 parent ae42148 commit bc90a88
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 @@ -320,7 +320,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 bc90a88

Please sign in to comment.