15,000 USDC
View results
Submission Details
Severity: low
Valid

User can't burn some of his `dsc` token if he already below `MIN_HEALTH_FACTOR`

Summary

User can't burn some of his dsc token if he already below MIN_HEALTH_FACTOR

Vulnerability Details

User can't burn some of his dsc token if he already below MIN_HEALTH_FACTOR

Impact

User can't burn some of his dsc token if he already below MIN_HEALTH_FACTOR

Tools Used

manual

Recommendations

function burnDsc(uint256 amount) public moreThanZero(amount) {
_burnDsc(amount, msg.sender, msg.sender);
- _revertIfHealthFactorIsBroken(msg.sender); // I don't think this would ever hit...
}

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.