When a player calls Game::claimThrone
, the game breaks due to the inverted logic in the require statement that only allows the current king to claim the throne again, preventing any new players from ever becoming king and making the entire game unplayable.
Likelihood:
The issue will occur every time there is an attempt to claim the the throne since currentKing
starts as address(0)
Impact:
No player can ever claim the throne, rendering the entire game unplayable
Declaration of a winner is impossible
Withdrawals can't be executed
Fees are not generated
Game reset is unreachable
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.