The mint function lacks a validation check to ensure that the amount parameter is greater than zero. This oversight allows for the potential minting of zero tokens
Even its not affect the total supply still, the function will execute operations and emit events unnecessarily, leading to:
Wasted gas on zero-value mint operations, impacting efficiency.
Minor vulnerabilities in the integrity of event logs due to redundant entries.
Manual review
Add amount Validation: Include a require statement at the beginning of the function to ensure that amount is greater than 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.