Unused custom error in Distributor.sol
.
The following custom error Distributor__InvalidCommissionFee()
is not used anywhere. Since the COMISSION_FEE
is a constant and it is not caller controlled input plus it is set to 500 (5%) there is no point in checking it with if/revert
statement in the logic of the _distribute
method so that is most probably why this error is not used.
Unused code present.
Manual Review
Remove the custom error Distributor__InvalidCommissionFee();
from Distributor.sol
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.