fix indentation

This commit is contained in:
Manuel Araoz
2017-04-19 18:34:53 -03:00
parent 609869f087
commit 7592122e4d
2 changed files with 3 additions and 4 deletions

View File

@ -14,9 +14,9 @@ contract BasicToken is ERC20Basic {
mapping(address => uint) balances; mapping(address => uint) balances;
/* /*
* Fix for the ERC20 short address attack * Fix for the ERC20 short address attack
*/ */
modifier onlyPayloadSize(uint size) { modifier onlyPayloadSize(uint size) {
if(msg.data.length < size + 4) { if(msg.data.length < size + 4) {
throw; throw;

View File

@ -10,7 +10,6 @@ import './ERC20Basic.sol';
*/ */
contract ERC20 is ERC20Basic { contract ERC20 is ERC20Basic {
function allowance(address owner, address spender) constant returns (uint); function allowance(address owner, address spender) constant returns (uint);
function transferFrom(address from, address to, uint value); function transferFrom(address from, address to, uint value);
function approve(address spender, uint value); function approve(address spender, uint value);
event Approval(address indexed owner, address indexed spender, uint value); event Approval(address indexed owner, address indexed spender, uint value);