Commit 61f62eb3 by Santiago Palladino

Fix INITIAL_SUPPLY in SimpleToken example

Use token decimals
parent 07b688a0
......@@ -16,7 +16,7 @@ contract SimpleToken is StandardToken {
string public constant symbol = "SIM";
uint8 public constant decimals = 18;
uint256 public constant INITIAL_SUPPLY = 10000;
uint256 public constant INITIAL_SUPPLY = 10000 * (10 ** uint256(decimals));
/**
* @dev Contructor that gives msg.sender all of existing tokens.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment