Closed milosdjurica closed 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
See my response there :)
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