Unverified Commit 3ce9f6d9 authored by Harry Dutton's avatar Harry Dutton Committed by GitHub

ethclient: fix typo (#23778)

parent 114ed3ed
...@@ -60,7 +60,7 @@ func (ec *Client) Close() { ...@@ -60,7 +60,7 @@ func (ec *Client) Close() {
// Blockchain Access // Blockchain Access
// ChainId retrieves the current chain ID for transaction replay protection. // ChainID retrieves the current chain ID for transaction replay protection.
func (ec *Client) ChainID(ctx context.Context) (*big.Int, error) { func (ec *Client) ChainID(ctx context.Context) (*big.Int, error) {
var result hexutil.Big var result hexutil.Big
err := ec.c.CallContext(ctx, &result, "eth_chainId") err := ec.c.CallContext(ctx, &result, "eth_chainId")
......
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