Skip to content

Commit

Permalink
docs: apply suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: MathisGD <[email protected]>
Signed-off-by: Merlin Egalite <[email protected]>
  • Loading branch information
MerlinEgalite and MathisGD authored Sep 19, 2023
1 parent c1411e4 commit 465cb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Morpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ contract Morpho is IMorpho {
/// @dev Returns whether the position of `borrower` in the given market `marketParams` with the given
/// `collateralPrice` is healthy.
/// @dev Assumes that the inputs `marketParams` and `id` match.
/// @dev The precision of the inequality can vary up to 1 unit of the borrowable token.
/// @dev Rounds in favor of the protocol, so one might not be able to borrow exactly `maxBorrow` but one unit less.
function _isHealthy(MarketParams memory marketParams, Id id, address borrower, uint256 collateralPrice)
internal
view
Expand Down

0 comments on commit 465cb7f

Please sign in to comment.