Skip to content

Commit

Permalink
Adding whenNotPaused to increaseApproval and decreaseApproval
Browse files Browse the repository at this point in the history
  • Loading branch information
erick committed Dec 11, 2017
1 parent 57d8603 commit fb1d356
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions contracts/WaxToken.sol
Expand Up @@ -77,4 +77,18 @@ contract WaxToken is StandardToken, Pausable {
revert();
}

/**
* Adding whenNotPaused
*/
function increaseApproval (address _spender, uint _addedValue) whenNotPaused returns (bool success) {
return super.increaseApproval(_spender, _addedValue);
}

/**
* Adding whenNotPaused
*/
function decreaseApproval (address _spender, uint _subtractedValue) whenNotPaused returns (bool success) {
return super.decreaseApproval(_spender, _subtractedValue);
}

}

0 comments on commit fb1d356

Please sign in to comment.