ethclient: docs, fix misleading comment (#26189)

closes #26188
This commit is contained in:
ligi 2022-11-16 08:44:54 +01:00 committed by GitHub
parent ae42148093
commit bc90a88263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -320,7 +320,7 @@ func (ec *Client) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header)
// State Access // 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) { func (ec *Client) NetworkID(ctx context.Context) (*big.Int, error) {
version := new(big.Int) version := new(big.Int)
var ver string var ver string