Commit 8765e2a5 by Chris Whinfrey

Use instead of directly calling on

parent 61b5921a
...@@ -25,7 +25,7 @@ contract CappedToken is MintableToken { ...@@ -25,7 +25,7 @@ contract CappedToken is MintableToken {
function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) {
require(totalSupply.add(_amount) <= cap); require(totalSupply.add(_amount) <= cap);
return MintableToken.mint(_to, _amount); return super.mint(_to, _amount);
} }
} }
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