From 9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 10 Mar 2015 15:42:58 +0100 Subject: [PATCH] eth: return account errors directly --- eth/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/backend.go b/eth/backend.go index ac8a016fe..9d7ce4988 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -168,7 +168,7 @@ func New(config *Config) (*Ethereum, error) { cb, err := eth.accountManager.Coinbase() if err != nil { - return nil, fmt.Errorf("no coinbase: %v", err) + return nil, err } eth.chainManager = core.NewChainManager(blockDb, stateDb, eth.EventMux())