Cyfrin / foundry-smart-contract-lottery-cu

47 stars 38 forks source link

set RaffleState to be OPEN only AFTER money is already sent to the w… #40

Closed milosdjurica closed 10 months ago

milosdjurica commented 10 months ago

Set RaffleState to be OPEN only AFTER money is already sent to the winner, to prevent adding other players before money is sent.

Solution to this issue -> https://github.com/Cyfrin/foundry-smart-contract-lottery-f23/issues/39

PatrickAlphaC commented 10 months ago

See my response there :)