From 348f3cb68c1fbab9f84f911b9342edf632652d87 Mon Sep 17 00:00:00 2001 From: Jordi Baylina Date: Tue, 16 May 2017 17:26:40 +0200 Subject: [PATCH] onlyPayloadSize --- contracts/MiniMeToken.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/MiniMeToken.sol b/contracts/MiniMeToken.sol index 0e8850d2..18d4dbc3 100644 --- a/contracts/MiniMeToken.sol +++ b/contracts/MiniMeToken.sol @@ -261,7 +261,7 @@ contract MiniMeToken is Controlled { /// @param _spender The address of the account able to transfer the tokens /// @param _amount The amount of tokens to be approved for transfer /// @return True if the approval was successful - function approve(address _spender, uint256 _amount) onlyPayloadSize(2) returns (bool success) { + function approve(address _spender, uint256 _amount) returns (bool success) { if (!transfersEnabled) throw; // To change the approve amount you first have to reduce the addresses`