When a user who has already claimed calls claimSurvived() again, the function reverts with InvalidAmount. This is the wrong error the user did not pass an invalid amount, they already claimed. This misleads developers, integrators, and users debugging failed transactions.
Code snippet-
https://github.com/CodeHawks-Contests/2026-07-bc-confidence-pools/blob/58e8ba4ce3f3277866e4926f3140e597f9554a1e/src/ConfidencePool.sol#L384
Misleading error message for already-claimed users.
Add a dedicated revert and use it correctly.
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.
The contest is complete and the rewards are being distributed.