Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Mar 1, 2024
1 parent 038844e commit 3e435cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fixed-rate-irm/FixedRateIrm.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ contract FixedRateIrm is IFixedRateIrm {
/// @notice Sets the borrow rate for a market.
/// @dev A rate can be set by anybody, but only once.
/// @dev `borrowRate` reverts on rate not set, so the rate needs to be set before the market creation.
/// @dev As interest are rounded down in Morpho, for markets with a low total borrow, setting a rate too low could prevent interest from accruing if interactions are frequent.
/// @dev As interest are rounded down in Morpho, for markets with a low total borrow, setting a rate too low could
/// prevent interest from accruing if interactions are frequent.
function setBorrowRate(Id id, uint256 newBorrowRate) external {
require(borrowRateStored[id] == 0, RATE_SET);
require(newBorrowRate != 0, RATE_ZERO);
Expand Down

0 comments on commit 3e435cd

Please sign in to comment.