WithdrawAll function flawed
jptbrandao opened this issue · 1 comments
jptbrandao commented
In ReentrancyVulnerableFixed.sol, function WIthdrawAll().
balances[msg.sender] is set to zero before the transaction is made. The variable that should be used is "amount".