The transferErcTokens
function redundantly checks if the to
address is zero (address(0)
) twice. This duplication is unnecessary, as a single check is sufficient to validate the input. This redundancy increases gas consumption and reduces code efficiency without providing any additional functionality.
Each additional check consumes unnecessary gas.
Users calling this function will pay more in transaction fees.
Manual
Use only one check
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.