From 32f50cf3b8200504fa2ade910c9f80cfcab812b6 Mon Sep 17 00:00:00 2001 From: 0xrusowsky <90208954+0xRusowsky@users.noreply.github.com> Date: Sat, 16 Sep 2023 10:22:27 +0200 Subject: [PATCH] style: improve comments --- src/Cooler.sol | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Cooler.sol b/src/Cooler.sol index 0954722..3cd34fb 100644 --- a/src/Cooler.sol +++ b/src/Cooler.sol @@ -256,9 +256,10 @@ contract Cooler is Clone { factory().logClearRequest(reqID_, loanID); } - /// @notice Allow lender to extend a loan for the borrower. - /// @dev Since this function solely impacts the expiration day and resets the interest due, - /// The lender should ensure that repayments are done to them beforehand. + /// @notice Allow lender to extend a loan for the borrower. Doesn't require + /// borrower permission because it doesn't have a negative impact for them. + /// @dev Since this function solely impacts the expiration day, the lender + /// should ensure that extension interest payments are done beforehand. /// @param loanID_ index of loan in loans[]. /// @param times_ that the fixed-term loan duration is extended. function extendLoanTerms(uint256 loanID_, uint8 times_) external {