Skip to content

Commit

Permalink
check if e.details exists before callign toLowerCase()
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Oct 10, 2024
1 parent b2a51d3 commit fe85870
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/executor/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ export class Executor {
}

if (
e?.details &&
e?.details
.toLowerCase()
.includes("replacement transaction underpriced")
Expand Down

0 comments on commit fe85870

Please sign in to comment.