in the function closePot(), after the managerCut is transfered, claimantCut is calculated using (remainingRewards - managercut) / i_players.length. Then the function continues to only distributed counting the claimants.length in a loop.
issue in distribution and loss of funds locked in contract.
forge
use uint256 claimantCut = (remainingRewards - managerCut) / claimants.length(); insteal of i_players.length since only claimants receive the rewards.
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.