eth: return account errors directly
This commit is contained in:
parent
c3f94a4341
commit
9d4e1e8f8b
@ -168,7 +168,7 @@ func New(config *Config) (*Ethereum, error) {
|
|||||||
|
|
||||||
cb, err := eth.accountManager.Coinbase()
|
cb, err := eth.accountManager.Coinbase()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("no coinbase: %v", err)
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
eth.chainManager = core.NewChainManager(blockDb, stateDb, eth.EventMux())
|
eth.chainManager = core.NewChainManager(blockDb, stateDb, eth.EventMux())
|
||||||
|
Loading…
Reference in New Issue
Block a user