PuppyRaffle::getActivePlayerIndex returns 0 for non-existing players and for players at index 0, causing a player at index 0 to incorrectly think they have not entered the raffleLikelihood:
When no active player in the raffle
getActivePlayerIndex() returns 0 when called
Owner or users may think there is an active user in the index 0 of the array, indicating just 1 active user. when there is no none
Impact:
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.