Skip to content

Commit

Permalink
Update invariant
Browse files Browse the repository at this point in the history
  • Loading branch information
aviggiano committed Jan 4, 2024
1 parent c68bc3e commit c95fa5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/invariants/Properties.sol
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ abstract contract Properties is BeforeAfter, Asserts, PropertiesConstants {
uint256[] memory folFaceValuesSum = new uint256[](activeLoans);
for (uint256 loanId; loanId < activeLoans; loanId++) {
Loan memory loan = size.getLoan(loanId);
uint256 folId = loanId == RESERVED_ID ? loanId : loan.folId;
uint256 folId = loanId == RESERVED_ID ? loan.folId : loanId;
Loan memory fol = size.getLoan(folId);

folCreditsSum[folId] += size.getCredit(loanId);
Expand Down

0 comments on commit c95fa5c

Please sign in to comment.