In burn
function in contract DebtToken
we are making the value of amount
equals to amount
.
Here , in the function Burn
function we can see that we are doing the value of amount
equals to amount
which doesnot add some new functionality to the function .
amount = amount;
this is the thing .
The value of amount
will remain same as previous amount
. so , if anywhere the value of amount
changed and we have to store that value then it will not changed .
Manual Review
Recheck the function if we have to make the value of amount
equals to some other parameter or remove the line .
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.