forked from cerc-io/plugeth
ethclient: fix typo (#23778)
This commit is contained in:
parent
114ed3edcd
commit
3ce9f6d96f
@ -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…
Reference in New Issue
Block a user