As per the comments in the DebtToken::burn function :
We can see from the comments that,
the first param to be returned is : The amount of scaled tokens burned
the third param to be returned is : The amount of underlying tokens burned
But in the function the params are returned in the following order
The position of scaled token amount and underlying token amount is interchanged. Which will give wrong results.
Functions relying on the correct order may process data incorrectly, leading to logic errors.
Manual review
Update the return statement to return the values in correct order as follows :
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.