Skip to content

Commit

Permalink
feat: rollback to previous calc
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaquinBattilana committed Jul 27, 2024
1 parent a400582 commit 8982861
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ export function calculateReserveDebt(
const totalVariableDebt = getTotalVariableDebt(reserveDebt, currentTimestamp);
const totalStableDebt = getTotalStableDebt(reserveDebt, currentTimestamp);
const totalDebt = totalVariableDebt.plus(totalStableDebt);
const totalLiquidity = totalDebt
.plus(reserveDebt.availableLiquidity)
.plus(reserveDebt.virtualUnderlyingBalance);
const totalLiquidity = totalDebt.plus(reserveDebt.availableLiquidity);
return {
totalVariableDebt,
totalStableDebt,
Expand Down

0 comments on commit 8982861

Please sign in to comment.