From bc90a882633e7a61fd5d18ec266a0c51bd71a888 Mon Sep 17 00:00:00 2001 From: ligi Date: Wed, 16 Nov 2022 08:44:54 +0100 Subject: [PATCH] ethclient: docs, fix misleading comment (#26189) closes #26188 --- ethclient/ethclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 766efcf571..1d2df5466e 100644 --- a/ethclient/ethclient.go +++ b/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