normally the claim throne function is surposed to add a new player as the current king. meaning that it should ensure that the player calling claimThrone function is not the current king of the game.
The issue here is that instead of requiring that the message sender in not the the current king, it requires that the message sender is the current king, so since the initial current king is the zero address, the function will always fail this check and revert, making the game unplayable.
Likelihood:
This issue occurs when anyone calls the claimThrone function to play the game
Impact:
claimThrone function always reverts
Game cannot be played
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.