Commit acd34a93 by Francisco Giordano

fix bug in DetailedPremintedToken

parent 2ce67a25
...@@ -22,6 +22,7 @@ contract DetailedPremintedToken is Migratable, DetailedERC20, StandardToken { ...@@ -22,6 +22,7 @@ contract DetailedPremintedToken is Migratable, DetailedERC20, StandardToken {
} }
function _premint(address _to, uint256 _value) internal { function _premint(address _to, uint256 _value) internal {
totalSupply_ += _value;
balances[_to] += _value; balances[_to] += _value;
emit Transfer(0, _to, _value); emit Transfer(0, _to, _value);
} }
......
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