Skip to content

Commit

Permalink
Add missing Ganache nonce error message (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcuonghx authored Apr 8, 2022
1 parent dbaf7fe commit 4af882b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oracle/src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ function isNonceError(e) {
message.includes('transaction nonce is too low') ||
message.includes('nonce too low') ||
message.includes('transaction with same nonce in the queue') ||
message.includes('oldnonce')
message.includes('oldnonce') ||
message.includes(`the tx doesn't have the correct nonce`)
)
}

Expand Down

0 comments on commit 4af882b

Please sign in to comment.