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

Arithmetic issue

Summary

Arithmetic issue

Vulnerability Details

Rounding down to 0

Impact

Fees will be rounded down to 0 and it will cause to loss of funds(small amount).

Tools Used

Manual

Recommendations

Add check for >= 10000/borrowerFee.
require(debt >= 10000/borrowerFee)

Support

FAQs

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