Normal behavior: closing should distribute remaining rewards without reverting.
Issue: `closePot() divides by i_players.length` with no zero-length guard.
Likelihood:
Contest is created with an empty players array.
Owner calls `closePot()` after the claim window.
Impact:
`closePot()` reverts permanently.
Funds remain locked in the Pot.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.