Replaced assert with require
This commit is contained in:
@ -3,7 +3,7 @@ pragma solidity ^0.4.11;
|
||||
contract ReentrancyAttack {
|
||||
|
||||
function callSender(bytes4 data) {
|
||||
assert(msg.sender.call(data));
|
||||
require(msg.sender.call(data));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user