Normal behavior: When a new player wants to claim the throne, they should be allowed to do so if they send at least the current claimFee and are not already the current king.
Issue: The check in claimThrone() is inverted. It requires msg.sender to equal currentKing instead of ensuring it is not the current king, effectively allowing only the current king to call the function:
This prevents any other participant from becoming king and freezes the game after the first claim.
Likelihood:
The bug occurs every time a non‑king calls claimThrone().
After the first claim, everyone else will revert, so the game cannot progress.
Impact:
Denial of Service: New players can never claim the throne.
Economic Loss: Participants lose gas on reverting transactions.
Reputation Risk: The game cannot function as intended, undermining user trust.
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.