From 7592122e4df1b0632fcef48e8987c0bd90006437 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 19 Apr 2017 18:34:53 -0300 Subject: [PATCH] fix indentation --- contracts/token/BasicToken.sol | 6 +++--- contracts/token/ERC20.sol | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/contracts/token/BasicToken.sol b/contracts/token/BasicToken.sol index 58b519f6f..81192144b 100644 --- a/contracts/token/BasicToken.sol +++ b/contracts/token/BasicToken.sol @@ -14,9 +14,9 @@ contract BasicToken is ERC20Basic { mapping(address => uint) balances; -/* - * Fix for the ERC20 short address attack - */ + /* + * Fix for the ERC20 short address attack + */ modifier onlyPayloadSize(uint size) { if(msg.data.length < size + 4) { throw; diff --git a/contracts/token/ERC20.sol b/contracts/token/ERC20.sol index 6efe7b5d4..2116ab95b 100644 --- a/contracts/token/ERC20.sol +++ b/contracts/token/ERC20.sol @@ -10,7 +10,6 @@ import './ERC20Basic.sol'; */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint); - function transferFrom(address from, address to, uint value); function approve(address spender, uint value); event Approval(address indexed owner, address indexed spender, uint value);