First Flight #2: Puppy Raffle

Beginner FriendlyFoundryNFT
100 EXP
Submission Details
Severity: high
Valid

The refund function should not leave refunded players with zero addresses in the players array because it messes up the selectWinner function in multiple ways

Updates

Lead Judging Commences

Hamiltonite Lead Judge 11 months ago
Submission Judgement Published
Validated
Assigned finding tags:

refund-doesnt-reduce-players-array-size-causing-protocol-to-freeze

zero address can win the raffle

Funds are locked to no one. If someone gets the refund issue, they also got this issue. IMPACT: High Likelihood: High

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.