eth: return account errors directly

This commit is contained in:
Felix Lange 2015-03-10 15:42:58 +01:00
parent c3f94a4341
commit 9d4e1e8f8b

View File

@ -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())