Skip to content

Commit

Permalink
Remove extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy committed Jun 30, 2023
1 parent 495aec6 commit d2b7fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/helpers/PoolHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ import { Maths } from '../internal/Maths.sol';
uint256 collateral_,
uint256 momp_
) pure returns (uint256 bondFactor_, uint256 bondSize_) {
uint256 thresholdPrice = (borrowerDebt_ * Maths.WAD) / collateral_;
uint256 thresholdPrice = (borrowerDebt_ * Maths.WAD) / collateral_;

// bondFactor = min(30%, max(1%, (MOMP - thresholdPrice) / MOMP))
if (thresholdPrice >= momp_) {
Expand Down

0 comments on commit d2b7fa3

Please sign in to comment.