* fix: clean up solium linting errors * fix: make various contracts natspec compliant * fix: this.balance deprecated; convert to address(this).balance * fix: contract.call deprecated and switch to gasleft() * fix: ignore empty block rule project-wide * fix: add ignore cases for the rest of the linting warnings
12 lines
203 B
Solidity
12 lines
203 B
Solidity
pragma solidity ^0.4.21;
|
|
|
|
|
|
contract ReentrancyAttack {
|
|
|
|
function callSender(bytes4 data) public {
|
|
// solium-disable-next-line security/no-low-level-calls
|
|
require(msg.sender.call(data));
|
|
}
|
|
|
|
}
|