msg.sender
is currentKing
at Game.sol::claimThrone()
causes the function always revert leave the game unplayable`Game.sol::claimThrone()` function intended to be a function that called by players to takes King (currentKing) position
However, the check part at the function appears to be always reverted because requiring `msg.sender` to be currentKing while at initial state, there are no king.
Likelihood:
HIGH, players who want to play are using this function to claim the throne to be a King and win the game
Impact:
HIGH, always reverted `Game.sol::claimThrone()` function cause the game unplayable. There's no King, no winner, no fee generated. Causing massive losses.
To check does the `msg.sender` is King or not, change the following line:
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.