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

@ -32,10 +32,10 @@ contract CrowdsaleToken is StandardToken {
throw;
}
uint tokens = msg.value.safeMul(getPrice());
totalSupply = totalSupply.safeAdd(tokens);
uint tokens = msg.value.mul(getPrice());
totalSupply = totalSupply.add(tokens);
balances[recipient] = balances[recipient].safeAdd(tokens);
balances[recipient] = balances[recipient].add(tokens);
if (!multisig.send(msg.value)) {
throw;