ethclient: fix typo (#23778)

pull/23780/head
Harry Dutton 3 years ago committed by GitHub
parent 114ed3edcd
commit 3ce9f6d96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethclient/ethclient.go

@ -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")

Loading…
Cancel
Save