Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Oct 4, 2024
1 parent 62cadba commit d810845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PreLiquidation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ contract PreLiquidation is IPreLiquidation, IMorphoRepayCallback {
).mulDivDown(ORACLE_PRICE_SCALE, collateralPrice);
}

// Note that the pre-liquidation close factor can be greater than WAD (100%). In this case the position can be fully
// pre-liquidated.
// Note that the pre-liquidation close factor can be greater than WAD (100%). In this case the position can be
// fully pre-liquidated.
uint256 preLCF = UtilsLib.min(
(ltv - PRE_LLTV).wDivDown(LLTV - PRE_LLTV).wMulDown(PRE_LCF_2 - PRE_LCF_1) + PRE_LCF_1, PRE_LCF_2
);
Expand Down

0 comments on commit d810845

Please sign in to comment.