0

There is sol contract function mint():

 function mint(address _holder, uint _value) external {
require(msg.sender == ico);
require(_value != 0);
require(totalSupply + _value <= TOKEN_LIMIT);

balances[_holder] += _value;
totalSupply += _value;
Transfer(0x0, _holder, _value);  }

I'm succkessfully calling this function for creating 10000 tokens and send them to eth.accounts[0]:

personal.unlockAccount(eth.accounts[0])

true

minedContract.mint.sendTransaction(eth.accounts[0], 10000, {from:eth.accounts[0]})

"0x6e4474072ebf2836fa6b737a6341504f79b53417e366c742c7ffefa0f3aff832"

But balance of eth.accounts[0] still 0. Total balance of the contract is 0 either. I have waited till its mined. Why state of the contract isn't changing?

Vadim Filin
  • 342
  • 3
  • 12

1 Answers1

0

I have repeated my own steps to reproduce above behavior but failed because everything works well. So closed because of a human factor.

Vadim Filin
  • 342
  • 3
  • 12