20,000 USDC
View results
Submission Details
Severity: high

Checking the equality of the interest rate of the pool with the interest rate of the loan.

Summary

Checking the equality of the interest rate of the pool with the interest rate of the loan.

Vulnerability Details

Not checking whether the interest rate of the pool is equal or lower than the interest rate of the loan.

Impact

Breaking logic.

Tools Used

Recommendations

Check the pool interest rate and loan interest rate:

if (pool.interestRate > loan.interestRate) revert RateTooHigh();

Support

FAQs

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