Skip to content

Commit

Permalink
fix: review feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
NeOMakinG committed Jan 27, 2025
1 parent ad14930 commit f44a4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/fees/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const calculateFees: CalculateFeeBps = ({
// No discount if we cannot fetch FOX holdings
if (isFallbackFees) return bn(0)

return BigNumber.minimum(foxDiscountPercent, currentFoxWifHatDiscountPercent)
return BigNumber.maximum(foxDiscountPercent, currentFoxWifHatDiscountPercent)
})()

// the fee bps before the fox discount is applied, as a floating point number
Expand Down

0 comments on commit f44a4a2

Please sign in to comment.