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.
2 parents 08774c9 + 26b92dc commit 86d8429Copy full SHA for 86d8429
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