aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-10 22:42:58 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 22:42:58 +0800
commit9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2 (patch)
tree5503da36c38833d661bac09f3bea2a593ce5f5e6 /eth
parentc3f94a4341056d36ec9f42dd80702ec7ec6986af (diff)
downloaddexon-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar
dexon-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.gz
dexon-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.bz2
dexon-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.lz
dexon-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.xz
dexon-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.zst
dexon-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.zip
eth: return account errors directly
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
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())