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

Useless check can be removed to save gas

Summary

Useless check can be removed to save gas

Vulnerability Details

As described in the comment // I don't think this would ever hit... the _revertIfHealthFactorIsBroken check is useless and can be removed to save gas.

Impact

Useless gas consumption

Tools Used

Manual review

Recommendations

Removed useless check.

Support

FAQs

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