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

moreThanZero modifier

Summary

DSCEngine Contract uses the moreThanZero Modifier, this isn't really a risk but would be better to set the if statement to if (amount <= 0) instead of if(amount == 0) -> it would just be better practice.

Vulnerability Details

Impact

Tools Used

Recommendations

set the if statement to if (amount <= 0) instead of if(amount == 0)

Support

FAQs

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