RAACToken burning taxAmount should be excluded to burn amount. Consider , whitelisted person burn x token amount , he burn x amount without tax paying while another person he is not whitelisted he also burn total is x amount meaning tax is included to total burn amount(x) . But actually other person needs to burn x + tax. here both persons eventually burn x amount.
Here non whitelisted burn amount tokens , burning amount is amount-taxAmount and , part of the taxAmount is again burned and rest is transferred to feeCollector. Meaning total amount reduced is amount - taxAmount + taxAmount = amount
If consider the whitelisted person his total amount reduced is also amount when burning.
The burn function incorrectly includes tax in the burned amount for non-whitelisted users, causing them to burn fewer tokens than required. The tax amount should be excluded to ensure they burn x + tax instead of just x.
Manual Review
The tax amount should be excluded from the burn amount, ensuring that the non-whitelisted user burns the correct x + tax amount instead of just x.
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.