Users can refund after the raffle is over.
The refund function does not check if a raffle is over, whether before or after the winner gets picked, and allows a refund at any moment.
High. It means people can refund if they know they didn't win a raffle, before selectWinner is called.
n/a
Add a require(block.timestamp < raffleStartTime + raffleDuration, "PuppyRaffle: Raffle is over"); at the top of refund() to prevent users from refunding after the raffle is over.
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.