From 5d970378531f664ab907636c16091516e282c799 Mon Sep 17 00:00:00 2001 From: ligi Date: Wed, 16 Nov 2022 05:37:44 +0100 Subject: [PATCH] ethclient: Fix misleading documentation closes #26188 --- ethclient/ethclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 766efcf57140..1d2df5466ede 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