In the current implementation, the deployer is prevented from resetting the game if no one has joined.
After the deployer deploys the game, if no one joins or claims the throne possibly because the initial claimFee
was set too high the deployer might want to reset the game to adjust the claimFee
.
However, they cannot do that due to the check above, hence the gameEnded can`t be change anywhere outside declareWinner()
which may lead to make the deployer needed to deploy the game one more time with extra deployment fees
Use the following in declareWinner() to allow resetting the game even if there’s no winner:
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.