Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
ljiatu committed Dec 19, 2024
1 parent 3a33a0c commit e12a1cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/liquidity/TrancheVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ contract TrancheVault is
DepositRecord memory depositRecord = _getDepositRecord(lender);
uint256 principalWithDecimals = depositRecord.principal * DEFAULT_DECIMALS_FACTOR;
if (assetsWithDecimals > principalWithDecimals) {
// TODO(jiatu): Check yield > 0 instead?
uint256 yieldWithDecimals = assetsWithDecimals - principalWithDecimals;
uint256 yield = yieldWithDecimals / DEFAULT_DECIMALS_FACTOR;
// Round up the number of shares the lender has to burn in order to receive
Expand Down

0 comments on commit e12a1cf

Please sign in to comment.