fix increaseApproval in ERC827Token with tests

This commit is contained in:
AugustoL
2018-01-16 18:43:50 -03:00
parent 87f5916341
commit 7ddd66fb74
2 changed files with 11 additions and 2 deletions

View File

@ -94,7 +94,7 @@ contract ERC827Token is ERC827, StandardToken {
function increaseApproval(address _spender, uint _addedValue, bytes _data) public returns (bool) {
require(_spender != address(this));
super.approve(_spender, _addedValue);
super.increaseApproval(_spender, _addedValue);
require(_spender.call(_data));