aboutsummaryrefslogtreecommitdiffstats
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
parentc3f94a4341056d36ec9f42dd80702ec7ec6986af (diff)
downloadgo-tangerine-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar
go-tangerine-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.gz
go-tangerine-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.bz2
go-tangerine-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.lz
go-tangerine-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.xz
go-tangerine-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.tar.zst
go-tangerine-9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2.zip
eth: return account errors directly
-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())