Skip to content

Commit

Permalink
Removing basefee check
Browse files Browse the repository at this point in the history
  • Loading branch information
hbandura committed Jan 17, 2024
1 parent 4d58fe0 commit 43a4d4b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/tx_multicurrency_priceheap.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ func (cc CurrencyCmpFn) GasTipCapCmp(tx, other *types.Transaction) int {
// but taking into account the exchange rate comparison of the CurrencyCmpFn.
// Each baseFee is expressed in each tx's currency.
func (cc CurrencyCmpFn) EffectiveGasTipCmp(tx, other *types.Transaction, baseFeeA, baseFeeB *big.Int) int {
if baseFeeA == nil && baseFeeB == nil {
return cc.GasTipCapCmp(tx, other)
}
return cc(tx.EffectiveGasTipValue(baseFeeA), tx.FeeCurrency(), other.EffectiveGasTipValue(baseFeeB), other.FeeCurrency())
}

Expand Down

0 comments on commit 43a4d4b

Please sign in to comment.