Unverified Commit bc90a882 authored by ligi's avatar ligi Committed by GitHub

ethclient: docs, fix misleading comment (#26189)

closes #26188
parent ae421480
...@@ -320,7 +320,7 @@ func (ec *Client) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment