The LendingPool::_repay
function emits a Repay
event that, according to its natspec documentation, should contain "The amount repaid"). However, the implementation uses actualRepayAmount
(an unscaled value calculated before the burn) instead of amountScaled
(the actual amount that was repaid).
Off-chain systems and front-end monitoring this event will receive and process incorrect amount values, leading to inaccurate accounting or wrong display returned to users of the repaied amounts.
Manual review
Modify the event emission to use the actual amount that was repaid.
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.