set checkRevertBeforeSending to false

pull/4215/head
yann300 1 year ago
parent 3cde19b3b3
commit 8e3a0c8590
  1. 2
      libs/remix-lib/src/execution/txRunnerWeb3.ts

@ -81,7 +81,7 @@ export class TxRunnerWeb3 {
)
} else {
try {
const res = await this.getWeb3().eth.sendTransaction(tx)
const res = await this.getWeb3().eth.sendTransaction(tx, null, { checkRevertBeforeSending: false })
cb(null, res.transactionHash)
} catch (e) {
console.log(`Send transaction failed: ${e.message} . if you use an injected provider, please check it is properly unlocked. `)

Loading…
Cancel
Save