The burn function overrides the burn function from the ERC20Burnable contract, but it does not include the override keyword, which could lead to unintended behaviour.
The burn function overrides the burn function from the ERC20Burnable contract, but it does not include the override keyword, which could lead to unintended behaviour.
Not using the override keyword can result in the burn function not properly overriding the parent function's behaviour, potentially leading to unexpected contract behaviour and security issues.
Remix, VSCode
To ensure proper function overriding, add the override keyword to the burn function. By adding the override keyword, you guarantee that the burn function correctly overrides the parent function.
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.