Merge pull request #1233 from josepfo/fix/eth-chain

Fix: eth chain definition
This commit is contained in:
Rafael Taranto 2022-05-23 09:40:34 +01:00 committed by GitHub
commit e30a9d8d64

View file

@ -116,7 +116,7 @@ function generateTx (_toAddress, wallet, amount, includesFee, cryptoCode) {
if (isErc20Token) txTemplate.data = contractData if (isErc20Token) txTemplate.data = contractData
const common = new Common({ chain: Chain.Ropsten, hardfork: Hardfork.London }) const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.London })
const promises = [ const promises = [
pify(web3.eth.estimateGas)(txTemplate), pify(web3.eth.estimateGas)(txTemplate),