Skip to content

Commit

Permalink
fix: test shortfall ocasionally failing (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
JGcarv authored Dec 1, 2021
1 parent 05b4f2f commit 07214a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/test/DebtLocker.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ contract DebtLockerTest is TestUtils {
/**********************************/

principalRequested_ = constrictToRange(principalRequested_, 1_000_000, MAX_TOKEN_AMOUNT);
collateralRequired_ = constrictToRange(collateralRequired_, 0, principalRequested_ / 10);
collateralRequired_ = constrictToRange(collateralRequired_, 0, principalRequested_ / 12);

( loan, debtLocker ) = _createFundAndDrawdownLoan(principalRequested_);

Expand Down

0 comments on commit 07214a6

Please sign in to comment.