From 21f251eafb256a6f8614b4758d66284ed7f39250 Mon Sep 17 00:00:00 2001 From: Rudy Godoy Date: Sun, 20 Aug 2017 23:11:23 -0500 Subject: [PATCH] Removed onlyPayloadSize modifier --- contracts/token/StandardToken.sol | 2 -- 1 file changed, 2 deletions(-) diff --git a/contracts/token/StandardToken.sol b/contracts/token/StandardToken.sol index 47feb936f..407ba0532 100644 --- a/contracts/token/StandardToken.sol +++ b/contracts/token/StandardToken.sol @@ -71,7 +71,6 @@ contract StandardToken is ERC20, BasicToken { * From MonolithDAO Token.sol */ function increaseApproval (address _spender, uint _addedValue) - onlyPayloadSize(2 * 32) returns (bool success) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); @@ -79,7 +78,6 @@ contract StandardToken is ERC20, BasicToken { } function decreaseApproval (address _spender, uint _subtractedValue) - onlyPayloadSize(2 * 32) returns (bool success) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) {