If remainingRewards - managerCut < i_players.length and managerCut > 0, the manager can call the closePot function multiple times and receive the managerCut multiple times.
The pot can be closed multiple times, allowing the manager to repeatedly collect the managerCut.
If remainingRewards - managerCut < i_players.length, transfer all remainingRewards to the manager, because claimants can't receive less than 1 token. After closing the Pot, update the remainingRewards to 0.
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.