Skip to content

Commit

Permalink
Revert "increase amount of allowed deviation for convertUSD"
Browse files Browse the repository at this point in the history
This reverts commit 5701e75.
  • Loading branch information
dbeal-eth committed Sep 1, 2024
1 parent 8f926c7 commit 4c25df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markets/legacy-market/contracts/LegacyMarket.sol
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ contract LegacyMarket is ILegacyMarket, Ownable, UUPSImplementation, IMarket, IE
uint256 afterDebt = iss.debtBalanceOf(address(this), "sUSD");

// approximately equal check because some rounding error can happen on the v2x side
if (beforeDebt - afterDebt < amount - 100) {
if (beforeDebt - afterDebt < amount - 1) {
revert V2xPaused();
}

Expand Down

0 comments on commit 4c25df1

Please sign in to comment.