In Burn
function we are burning amount
but emiting the amountScaled
.
In the contract DebtToken.sol
, In Burn
function we are emiting amountScaled
but burning amount
.
It will emit the amountScaled
(which is not burned) in place of amount
(which is burned) in function .
It will revert the wrong thing .
Manual Review
we should replace the amountScaled
with amount
.
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.