From d1320186540007fdae6d12b5ca8b06595cea4324 Mon Sep 17 00:00:00 2001 From: Karl Bartel Date: Fri, 27 Sep 2024 13:19:09 +0200 Subject: [PATCH] fixup! Fix fee currency usage in newTxWithMinerFee --- miner/ordering.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/ordering.go b/miner/ordering.go index 5f4735568e..5e0768f603 100644 --- a/miner/ordering.go +++ b/miner/ordering.go @@ -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) }