The game is designed so that any player can claim the throne by sending the required ETH fee, with the throne passing to the new player after payment
There's a critical logic error in the claimThrone() function that prevents anyone except the current king from claiming the throne, effectively breaking the core game mechanics
Likelihood: High
This vulnerability is triggered whenever any player (other than the current king) attempts to claim the throne
The incorrect logic check happens on every throne claiming attempt
Once someone becomes the first king, the game becomes permanently locked
Impact: High
Complete breakdown of the core game functionality - no throne changes can occur
First king becomes permanent winner as no one else can ever claim the throne
All ETH sent by other players attempting to claim the throne will be reverted
Game becomes unplayable after the first successful claim
Explanation: The require statement incorrectly uses == instead of !=, allowing only the current king to call the function. This breaks the core game mechanic where other players should overthrow the king.
Explanation: Change == to != so only non-kings can claim the throne, restoring the competitive gameplay where players can overthrow the current king.
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.