claimThrone
Allows Only Current King to Claim ThroneThe claimThrone()
function includes a logic check intended to prevent the current king from reclaiming the throne. However, the implemented condition is logically incorrect:
This statement only allows the current king to claim the throne again, and reverts all new challengers, which contradicts both the revert message and intended behavior of the game. As a result, the throne becomes unclaimable by other users, effectively freezing the game.
Likelihood:
The function is central to gameplay and likely called frequently. Since the logic is actively inverted, every new throne claim attempt (by a non-king) will fail.
Impact:
Breaks core game mechanics: New players cannot claim the throne.
Game becomes unwinnable: Current king stays forever, defeating the purpose of the game loop.
Fund lock risk: ETH prize pot may become locked due to no possible 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.