Add a check to prevent Dsc over a certain healthFactor.
As said in the comment, the user can use this function to burn his Dsc. A check should be added to prevent Dsc burning over a certain health threshold -> users should be allowed to burn their Dsc only if they approach the liquidation threshold.
A user may mistakenly burn his Dsc when he is in no danger of liquidation.
Manual review
Add a healthFactor requirement. If over a certain healthFactor, a user cannot burn his Dsc.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.