Puppy-raffle [H-4] selectWinner issue #52
Replies: 1 comment 1 reply
-
Well, there were a few ways this could happen. Which finding in particular are you referring to? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I'm currently in section 4, and I don't quite understand why in the audit it is mentioned that the attacker can "forever" halt the selectWinner function. In theory, to achieve this, all players must be contracts owned by the attacker; otherwise, there is still a chance that when selectWinner is called, the random selection might pick a regular account, and the round will end. So, it seems that this error doesn't block the code permanently but rather complicates the process of selecting a winner, is that correct?
Beta Was this translation helpful? Give feedback.
All reactions