ethclient: docs, fix misleading comment (#26189)

closes #26188
pull/26196/head
ligi 2 years ago committed by GitHub
parent ae42148093
commit bc90a88263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethclient/ethclient.go

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

Loading…
Cancel
Save