Skip to content

Commit

Permalink
fix: remove unnecessary accrueInterest harness function
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Nov 21, 2023
1 parent 610719a commit f914b28
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions certora/harness/MorphoHarness.sol
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,6 @@ contract MorphoHarness is Morpho {
return MathLib.mulDivDown(x, y, d);
}

function accrueInterest(MarketParams memory marketParams) external {
Id id = marketParams.id();
require(market[id].lastUpdate != 0, ErrorsLib.MARKET_NOT_CREATED);

_accrueInterest(marketParams, id);
}

function isHealthy(MarketParams memory marketParams, address user) external view returns (bool) {
return _isHealthy(marketParams, marketParams.id(), user);
}
Expand Down

0 comments on commit f914b28

Please sign in to comment.