|
|
|
@ -178,7 +178,7 @@ class TxRunner { |
|
|
|
|
} |
|
|
|
|
this.executionContext.web3().eth.estimateGas(tx, (err, gasEstimation) => { |
|
|
|
|
if (err && err.message.indexOf('Invalid JSON RPC response') !== -1) { |
|
|
|
|
// https://github.com/WalletConnect/walletconnect-monorepo/issues/334
|
|
|
|
|
// // @todo(#378) this should be removed when https://github.com/WalletConnect/walletconnect-monorepo/issues/334 is fixed
|
|
|
|
|
err = 'Gas estimation failed because of an unknown internal error. This may indicated that the transaction will fail.' |
|
|
|
|
} |
|
|
|
|
gasEstimationForceSend(err, () => { |
|
|
|
|