mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-13 13:18:35 +00:00
eth: return account errors directly
This commit is contained in:
parent
c3f94a4341
commit
9d4e1e8f8b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue