Post
Topic
Board Services
Re: Help me fix issue with simple smart contract: Paying 0.01 Ether
by
jmigdlc99
on 27/03/2018, 07:09:55 UTC
Untested but here are some ideas that come to mind:

1. Are you sure eth.accounts[1] returns a valid address? Try and log/output this.

2. Try changing eth.accounts[1] to web3.eth.accounts[1]

3. Consider using remix.ethereum.org since they give better debug messages.

Figured it out, I was passing in the wrong contract address the whole damn time.

I hope my answer led you to seeing that, in any case do I get the 0.01 ether? My address is: 0x114b4fdc8e748a5683082e7866d08d6324cd26f5  Grin