pull/178/head
yann300 4 years ago
parent 2dbafd0214
commit a3d0b81363
  1. 1
      libs/remix-lib/src/execution/txRunner.js

@ -177,7 +177,6 @@ class TxRunner {
})
}
this.executionContext.web3().eth.estimateGas(tx, (err, gasEstimation) => {
console.log(err, gasEstimation)
if (err && err.message.indexOf('Invalid JSON RPC response') !== -1) {
// https://github.com/WalletConnect/walletconnect-monorepo/issues/334
err = 'Gas estimation failed because of an unknown internal error. This may indicated that the transaction will fail.'

Loading…
Cancel
Save