Skip to content

Conversation

@d10r
Copy link

@d10r d10r commented Sep 27, 2016

I'm running geth 1.5.0-unstable-f130c5d3.
gethdev fails with

Fatal: Failed to execute /home/didi/dev-tools/node_4.4.3/lib/node_modules/gethdev/gethdev.js: etherbase address must be explicitly specified

I could track this down to an exception being thrown by web3.eth.coinbase when no account exists:

     > web3.eth.coinbase
etherbase address must be explicitly specified
    at web3.js:3119:20                                                                                                                                                                       
    at web3.js:6023:15                                                                                                                                                                       
    at get (web3.js:5923:38)                                                                                                                                                                 
    at <anonymous>:1:-1 

Provided is a fix which works for both the old and new behaviour.

@amacneil
Copy link
Owner

amacneil commented Sep 9, 2017

Sorry for the slow response, happy to merge this if you can fix the lint issues being reported by CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants