The burn() function in RAACToken incorrectly calculates the burned amount when fee collection is disabled (feeCollector == address(0)). The function always deducts taxAmount, but when there is no valid feeCollector, the tax is neither burned nor transferred
When the FeeCollector is address(0), the burn function does not burn all the tokens, the taxAmount remains with the sender, this is not the intended design, when a user burns a token, all the tokens should be burned whether the collector is enabled or disabled.
Not all the tokens are burned. The taxAmount token is not burned and remains in the user account.
Manual Review
Adjust the burn function to burn all tokens when feeCollector is equal to zero
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.