mirror of https://github.com/status-im/op-geth.git
ethclient: fix typo (#23778)
This commit is contained in:
parent
114ed3edcd
commit
3ce9f6d96f
|
@ -60,7 +60,7 @@ func (ec *Client) Close() {
|
|||
|
||||
// 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) {
|
||||
var result hexutil.Big
|
||||
err := ec.c.CallContext(ctx, &result, "eth_chainId")
|
||||
|
|
Loading…
Reference in New Issue