ERC20 totalSupply changed from public property to a function (#666)
Fixes OpenZeppelin/zeppelin-solidity#434
This commit is contained in:
committed by
Francisco Giordano
parent
9cc55ef2a5
commit
370e6a882a
@ -22,7 +22,7 @@ contract SimpleToken is StandardToken {
|
||||
* @dev Constructor that gives msg.sender all of existing tokens.
|
||||
*/
|
||||
function SimpleToken() public {
|
||||
totalSupply = INITIAL_SUPPLY;
|
||||
totalSupply_ = INITIAL_SUPPLY;
|
||||
balances[msg.sender] = INITIAL_SUPPLY;
|
||||
Transfer(0x0, msg.sender, INITIAL_SUPPLY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user