Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into upgrade_sender_3
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp authored Mar 5, 2024
2 parents f78621b + f801f28 commit 8250dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sender/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (s *Sender) send(tx *TxToConfirm) error {
log.Warn("Nonce is incorrect, retry sending the transaction with new nonce", "hash", rawTx.Hash(), "err", err)
continue
}
if err.Error() == "replacement transaction underpriced" {
if strings.Contains(err.Error(), "replacement transaction underpriced") {
s.adjustGas(originalTx)
log.Warn("Replacement transaction underpriced", "hash", rawTx.Hash(), "err", err)
continue
Expand Down

0 comments on commit 8250dd8

Please sign in to comment.