Zero address may be selected as a winner due to the wrong setting in refund
.
The refund
does not update the players
correctly. It only sets the address to zero but does not remove it from the array. When selectWinner
is called, it still includes the refunded player in the list of active players. This can result in the wrong player being selected as the winner and receiving the prize.
The prize pool may be sent to a zero address.
Manual review.
Remove the player from players when the refund
is called.
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.