Game::claimThrone
have a wrong equation check, makes the protocol uselessPlayer who wants to join the game should use Game::claimThrone
and the player cannot be the king if they want to join the game.
Sadly, the require
check should be checking if the player is the Current King. But it is not Checking right. The current checking is using a wrong equation which lead to everybody cannot use the protocol
Likelihood:
Everytime player want to join the game, they cannot
Impact:
Everyone cannot join the game because of this wrong equation, the game cannot run even at the beginning
The protocol cannot run even at the start of their launch
Player 1 want to join the game
Sadly, he / she cannot join because of the wrong equation
Please consider to change the equation from require(msg.sender == currentKing...)
into this code require(msg.sender != currentKing...)
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.