Use instead of directly calling on

This commit is contained in:
Chris Whinfrey
2017-11-15 16:14:28 -05:00
parent 61b5921ab2
commit 8765e2a53f

View File

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