The startGame function is designed to initiate a new game for the player.
To start the game, the player is required to send 1 Ether. However, the current check in place permits sending more than 1 Ether.
In function startGameis require statement to check value sended by Player. Is possoble to send more ethers than 1.
Lack of a withdrawal function may result in funds exceeding 1 Ether being locked in the smart contract.
A player can send more than 1 Ether, but there is no way to withdraw the excess amount.
manual review
Please consider change to equal
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.