Do not use implicit type conversion for address literals (#1002)
Uses the explicit address(0) for the zero address
This commit is contained in:
committed by
Matt Condon
parent
e4ed8f0705
commit
78e39aa2ad
@ -24,7 +24,7 @@ contract SimpleToken is StandardToken {
|
||||
constructor() public {
|
||||
totalSupply_ = INITIAL_SUPPLY;
|
||||
balances[msg.sender] = INITIAL_SUPPLY;
|
||||
emit Transfer(0x0, msg.sender, INITIAL_SUPPLY);
|
||||
emit Transfer(address(0), msg.sender, INITIAL_SUPPLY);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user