During the refinance, it decreases the pool balance wrongly.
Borrowers can refinance their loans using refinance()
.
But it updates the pool balance twice at L636 and L698 wrongly. As a result, the pool owner will lose funds unexpectedly.
Lenders would lose their funds as it tracks the pool balance wrongly.
Manual Review
We should remove this line.
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.