Skip to content

Commit

Permalink
fix: function (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffywu authored Apr 2, 2024
1 parent cdeabbb commit 7f135bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/transaction/src/calculate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ export function calculateDeleverageWithdraw(i: {
};
return calculateCollateral(inputs);
}

return calculateDebtCollateralGivenDepositRiskLimit(i);
}

export function calculateDebtCollateralGivenDepositRiskLimit({
Expand Down

0 comments on commit 7f135bf

Please sign in to comment.