In selectWinner() the winner's address is not verified before the prize is sent
If the winner's index is a refunded ticket index, the address stored in the player's table is address(0)
This can lead to permanent lost of ether and the minted nft
Manual review
Just after retrieving the winner's address and before sending the prize, check if winner != address(0)
Funds are locked to no one. If someone gets the refund issue, they also got this issue. IMPACT: High Likelihood: High
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.