Closed makoto closed 7 years ago
This could cause reentrancy bug
function withdraw() public onlyPayable notPaid { Participant participant = participants[msg.sender]; if (msg.sender.send(participant.payout)) { participant.paid = true; totalBalance -= participant.payout; } }
Fixed at https://github.com/makoto/blockparty/pull/47
This could cause reentrancy bug