Cyfrin / foundry-smart-contract-lottery-cu

47 stars 42 forks source link

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

Closed milosdjurica closed 11 months ago

milosdjurica commented 11 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 11 months ago

See my response there :)