Add ReentrancyGuard

This commit is contained in:
Remco Bloemen
2017-03-24 11:01:06 +00:00
parent ffce7e3b08
commit a2bd1bb7f6
5 changed files with 136 additions and 0 deletions

View File

@ -0,0 +1,11 @@
pragma solidity ^0.4.8;
contract ReentrancyAttack {
function callSender(bytes4 data) {
if(!msg.sender.call(data)) {
throw;
}
}
}