Borrower may refinace loans to a pool with higher interest rate.
Borrower calls refinance(…) function to refinance a loan to a new offer. After being refinanced, loan will be updated as below:
The problem is that this funtion does not check if the pool has higher interest rate than the original loan, even if borrower intended to choose a pool with lower interest rate to refinance loan to, it's possible the pool's interest rate may be updated to a higher rate before borrower's transaction gets executed.
Borrower may take a loan with higher interest rate than expected.
Manual Review
Add check if pool interest rate is higher than the loan's.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.