We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a7007 commit 26b92dcCopy full SHA for 26b92dc
contracts/SmartToken.sol
@@ -32,9 +32,10 @@ contract SmartToken is StandardToken {
32
function approveData(address _spender, uint256 _value, bytes _data) returns (bool) {
33
require(_spender != address(this));
34
35
+ super.approve(_spender, _value);
36
+
37
require(_spender.call(_data));
38
- super.approve(_spender, _value);
39
return true;
40
}
41
0 commit comments