Token Tutorial: How to provide an address correctly to the `mintToken` function?

starstarstarstar Member Posts: 19
edited June 2016 in Smart Contracts and Dapps
I'm working on the Token tutorial. At one stage, newly minted tokens can be supplied to a target address. However, when I provide the address from a test account on a private net (eth.account[0]), I get an error:

new BigNumber() not a number: 
  at raise (web3.js:14426:29)
  at web3.js:14414:33
I got the same error, when truncating the address by the prefix 0x, as I read about somewhere else.

How else do I need to format an address to provide to a contract?
Sign In or Register to comment.