mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Simplify eth code
This commit is contained in:
@@ -301,3 +301,8 @@ func (c *EthereumClient) EthERC20Consts(tokenAddress ethCommon.Address) (*ERC20C
|
||||
Decimals: uint64(decimals),
|
||||
}, nil
|
||||
}
|
||||
|
||||
// Client returns the internal ethclient.Client
|
||||
func (c *EthereumClient) Client() *ethclient.Client {
|
||||
return c.client
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user