In the LendingPool contract when repaying debt the amount burned and amount Scaled are returned in the incorrect order:
In the LendingPool::_repay function:
In the DebtToken::burn function:
Basically in the LendingPools implementation the positions for amountScaled and amountBurned are swaped.
Incorrect values returned
Manual review
Fix order of returned values
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.