Skip to content

Commit

Permalink
Merge pull request #54 from facundomedica/patch-1
Browse files Browse the repository at this point in the history
fix: Fix "nonce too low" error
  • Loading branch information
albertchon committed Jan 14, 2022
2 parents dfe9558 + 12c9d90 commit db2a8e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchestrator/ethereum/committer/eth_committer.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ func (e *ethCommitter) SendTx(
err := errors.New("failed to sign transaction")
e.nonceCache.Incr(e.fromAddress)
return err
case strings.Contains(err.Error(), "nonce is too low"),
strings.Contains(err.Error(), "nonce is too high"),
case strings.Contains(err.Error(), "nonce too low"),
strings.Contains(err.Error(), "nonce too high"),
strings.Contains(err.Error(), "the tx doesn't have the correct nonce"):

if resyncUsed {
Expand Down

0 comments on commit db2a8e3

Please sign in to comment.