coblox / bobtimus

an autobot that automatically handles swaps as Bob
Apache License 2.0
1 stars 1 forks source link

Fetch chainId from web3 inside `EthereumWallet` #28

Closed thomaseizinger closed 5 years ago

thomaseizinger commented 5 years ago

Currently, we allow the chainID parameter to be configured from the outside.

Instead of passing in this data, we should fetch it from the ethereum node with the web3 instance that we have available.