The contract do not check the balance and if the contract does not have enough ether, prize transfer to the winner will be reverted
The contract blindly transfers 2 ether to the player on a win without checking its balance.
Players cannot claim winnings if the contract lacks sufficient balance.
Users lose their bets, leading to irreversible fund loss.
The likelihood of this happening is the same as the likelihood of someone to win.
Remix, Code Review , AI tools, Foundry
Check the balance before transferring funds.
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.