The contract uses delete collectedFees;
after distribution, which resets the collected fees state. This may not be necessary and could lead to issues with tracking the collected fees for historical purposes or troubleshooting.
This may remove important data that could be used for auditing or resolving disputes.
Avoid resetting the collected fees state unless explicitly required for the contract's logic. Instead, track the distribution history in a separate variable. So remove the delete collectedFees;
line or replace it with a more robust tracking solution if needed.
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.