Skip to content

Commit

Permalink
dryrun error log
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Mar 4, 2024
1 parent 8f24439 commit 782e28d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modes/srouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ const order = bundledOrders[i].takeOrders.map(v => v.takeOrder)[0]
try {
await signer.estimateGas(rawtx);
}
catch {
catch(error) {

Check failure on line 277 in src/modes/srouter.js

View workflow job for this annotation

GitHub Actions / Build, lint, test

Trailing spaces not allowed
console.log("dryrun failed : ", error)

Check failure on line 278 in src/modes/srouter.js

View workflow job for this annotation

GitHub Actions / Build, lint, test

Missing semicolon
throw "dryrun";
}
}
Expand Down

0 comments on commit 782e28d

Please sign in to comment.