Post
Topic
Board Services
Re: Help me fix issue with simple smart contract: Paying 0.01 Ether
by
jmigdlc99
on 26/03/2018, 23:34:00 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.