change safe* to *
This commit is contained in:
@ -29,8 +29,8 @@ contract MintableToken is StandardToken, Ownable {
|
||||
}
|
||||
|
||||
function mint(address _to, uint _amount) onlyOwner canMint returns (bool) {
|
||||
totalSupply = safeAdd(totalSupply, _amount);
|
||||
balances[_to] = safeAdd(balances[_to], _amount);
|
||||
totalSupply = totalSupply.add(_amount);
|
||||
balances[_to] = balances[_to].add(_amount);
|
||||
Mint(_to, _amount);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user