Skip to content

Commit

Permalink
asFraction
Browse files Browse the repository at this point in the history
  • Loading branch information
xrsv committed Dec 3, 2024
1 parent b1d030a commit 0e7ea93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export abstract class TickBasedHeuristicGasModelFactory<
gasCostInTermsOfQuoteToken.asFraction
) &&
gasCostInTermsOfQuoteToken.subtract(syntheticGasCostInTermsOfQuoteToken)
.lessThan(gasCostInTermsOfQuoteToken.multiply(0.3))
.lessThan(gasCostInTermsOfQuoteToken.multiply(0.3).asFraction)
))
) {
log.info(
Expand Down

0 comments on commit 0e7ea93

Please sign in to comment.