Skip to content

Commit a1c574d

Browse files
committed
set checkRevertBeforeSending to false
1 parent 5bf8a96 commit a1c574d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-lib/src/execution/txRunnerWeb3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class TxRunnerWeb3 {
8181
)
8282
} else {
8383
try {
84-
const res = await this.getWeb3().eth.sendTransaction(tx)
84+
const res = await this.getWeb3().eth.sendTransaction(tx, null, { checkRevertBeforeSending: false })
8585
cb(null, res.transactionHash)
8686
} catch (e) {
8787
console.log(`Send transaction failed: ${e.message} . if you use an injected provider, please check it is properly unlocked. `)

0 commit comments

Comments
 (0)