If none of the players claim any reward from the pot then around 90 percent of the total reward tokens will be stuck in the contract.
The closePot() function first checks for the time elapsed and then it sends 10% of the unclaimed rewards to the manager and the remaining is split between the players who have claimed the rewards.This function didn't have a logic to deal with the tokens when none of the players have claimed the tokens,thus leaving the remaining 90% of the tokens to be locked in the contract itself.
It will lead to loss of 90% of the reward tokens when no player claims the reward.
->Foundry
-> Manual review
Add a case for what to do when none of the users have claimed the rewards similar to the code below
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.