change safe* to *

This commit is contained in:
Manuel Araoz
2017-04-19 16:19:22 -03:00
parent 4fad1505c7
commit 609869f087
8 changed files with 32 additions and 30 deletions

View File

@ -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;
}