Skip to content

Commit

Permalink
fixup! Fix fee currency usage in newTxWithMinerFee
Browse files Browse the repository at this point in the history
  • Loading branch information
karlb committed Sep 27, 2024
1 parent 656f366 commit d132018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/ordering.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func newTxWithMinerFee(tx *txpool.LazyTransaction, from common.Address, baseFee

// Convert tip back into celo if the transaction is in a different currency
if tx.FeeCurrency != nil {
tipBig, _ := exchange.ConvertCurrencyToCelo(rates, tip.ToBig(), tx.FeeCurrency)
tipBig, _ := exchange.ConvertCurrencyToCelo(rates, tx.FeeCurrency, tip.ToBig())
tip = uint256.MustFromBig(tipBig)
}

Expand Down

0 comments on commit d132018

Please sign in to comment.