Skip to content

Commit

Permalink
increase readability
Browse files Browse the repository at this point in the history
  • Loading branch information
daopunk committed May 22, 2024
1 parent 93ab5d0 commit 7ecf592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracts/proxies/NFTRenderer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ contract NFTRenderer is Authorizable {
if (debt > 0) {
state = 2;
ISAFEEngine.SAFEEngineCollateralData memory cTypeData = _safeEngine.cData(cType);
ratio = ((collateral.wmul(oracle.read())).wdiv(debt.wmul(cTypeData.accumulatedRate))) / 1e7; // _RAY to _WAD conversion
ratio = ((collateral.wmul(oracle.read())).wdiv(debt.wmul(cTypeData.accumulatedRate))) / 1e7;
} else {
state = 1;
ratio = 200;
Expand Down

0 comments on commit 7ecf592

Please sign in to comment.