Commit 21f251ea by Rudy Godoy

Removed onlyPayloadSize modifier

parent e7b1c339
...@@ -71,7 +71,6 @@ contract StandardToken is ERC20, BasicToken { ...@@ -71,7 +71,6 @@ contract StandardToken is ERC20, BasicToken {
* From MonolithDAO Token.sol * From MonolithDAO Token.sol
*/ */
function increaseApproval (address _spender, uint _addedValue) function increaseApproval (address _spender, uint _addedValue)
onlyPayloadSize(2 * 32)
returns (bool success) { returns (bool success) {
allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
Approval(msg.sender, _spender, allowed[msg.sender][_spender]); Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
...@@ -79,7 +78,6 @@ contract StandardToken is ERC20, BasicToken { ...@@ -79,7 +78,6 @@ contract StandardToken is ERC20, BasicToken {
} }
function decreaseApproval (address _spender, uint _subtractedValue) function decreaseApproval (address _spender, uint _subtractedValue)
onlyPayloadSize(2 * 32)
returns (bool success) { returns (bool success) {
uint oldValue = allowed[msg.sender][_spender]; uint oldValue = allowed[msg.sender][_spender];
if (_subtractedValue > oldValue) { if (_subtractedValue > oldValue) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment