Skip to content

Commit

Permalink
[goreleaser] adjust comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliusbtc committed Apr 7, 2024
1 parent 2e866d6 commit 608da60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethergo/submitter/submitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ func (t *txSubmitterImpl) applyGasFloor(ctx context.Context, transactor *bind.Tr
if transactor.GasFeeCap == nil || transactor.GasFeeCap.Cmp(gasFloor) < 0 {
transactor.GasFeeCap = gasFloor
}
if transactor.GasTipCap == nil || transactor.GasTipCap.Cmp(gasFloor) < 0 {
if transactor.GasTipCap == nil || transactor.GasTipCap.Cmp(minTipCap) < 0 {
transactor.GasTipCap = minTipCap
}
} else if transactor.GasPrice == nil || transactor.GasPrice.Cmp(gasFloor) < 0 {
Expand Down

0 comments on commit 608da60

Please sign in to comment.