When the borrower wants to repay, the internal LendingPool::_repay() is triggered:
If we look at the Repay event, we notice that the actualRepayAmount value is emitted, which is wrong. This is because it represent the input parameter or the scaled down value, but the actual amount that the user repay is the transfered amountScaled value. We notice that this value is burned from the borrower's DebtToken account and the same value is transfered to the RToken address.
Low: no harm or loss of funds to protocol, but provides false information.
Manual Review
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.