Skip to content

Commit

Permalink
add tolerance for settling debt
Browse files Browse the repository at this point in the history
  • Loading branch information
mwc committed Jan 5, 2024
1 parent 11748a7 commit b209d3a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ abstract contract UnboundedLiquidationPoolHandler is BaseHandler {

maxDepth_ -= 1;
}
reservesErrorMargin = Math.max(reservesErrorMargin, (reservesAfterAction + reservesBeforeAction) / 1e16);
}
// **CT2**: Keep track of bucketIndex when borrower is removed from auction to check collateral added into that bucket
if (
Expand Down

0 comments on commit b209d3a

Please sign in to comment.