Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
EdNoepel committed Feb 11, 2023
1 parent cd1bc16 commit c15d036
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libraries/external/BorrowerActions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ library BorrowerActions {
// determine new lup index and revert if borrow happens at a price higher than the specified limit (lower index than lup index)
vars.lupId = _lupIndex(deposits_, result_.poolDebt);
result_.newLup = _priceAt(vars.lupId);
// if (vars.lupId > limitIndex_) revert LimitIndexReached();

_revertIfLupDroppedBelowLimit(result_.newLup, limitIndex_);

Expand Down

0 comments on commit c15d036

Please sign in to comment.