Skip to content

Commit

Permalink
fix: credit account compressor - expirationDate
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Dec 25, 2024
1 parent f650ca7 commit 0c6a84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/compressors/CreditAccountCompressor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ contract CreditAccountCompressor is ICreditAccountCompressor, SanityCheckTrait {
data.creditFacade = ICreditManagerV3(creditManager).creditFacade();
data.underlying = ICreditManagerV3(creditManager).underlying();
data.owner = ICreditManagerV3(creditManager).getBorrowerOrRevert(creditAccount);
data.expirationDate = ICreditFacadeV3(creditManager).expirationDate();
data.expirationDate = ICreditFacadeV3(data.creditFacade).expirationDate();

CollateralDebtData memory cdd =
ICreditManagerV3(creditManager).calcDebtAndCollateral(creditAccount, CollateralCalcTask.DEBT_ONLY);
Expand Down

0 comments on commit 0c6a84e

Please sign in to comment.