aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-21 18:14:07 +0800
committerobscuren <geffobscura@gmail.com>2015-04-21 18:14:07 +0800
commit6c2b703c5871f5d8adf3bc4032385135e665018b (patch)
treeb704e953b177086703269de4643a3ecdbdbbfa3b /eth
parentf4cd66dc009191f51fc47d9c218c1073a1552bdf (diff)
parent1dc91975ad801418f6756381275d52549949f4dd (diff)
downloaddexon-6c2b703c5871f5d8adf3bc4032385135e665018b.tar
dexon-6c2b703c5871f5d8adf3bc4032385135e665018b.tar.gz
dexon-6c2b703c5871f5d8adf3bc4032385135e665018b.tar.bz2
dexon-6c2b703c5871f5d8adf3bc4032385135e665018b.tar.lz
dexon-6c2b703c5871f5d8adf3bc4032385135e665018b.tar.xz
dexon-6c2b703c5871f5d8adf3bc4032385135e665018b.tar.zst
dexon-6c2b703c5871f5d8adf3bc4032385135e665018b.zip
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index ec2444836..88456e448 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -173,7 +173,10 @@ func New(config *Config) (*Ethereum, error) {
if err != nil {
return nil, err
}
- extraDb, err := ethdb.NewLDBDatabase(path.Join(config.DataDir, "extra"))
+ extraDb, err := newdb(path.Join(config.DataDir, "extra"))
+ if err != nil {
+ return nil, err
+ }
// Perform database sanity checks
d, _ := blockDb.Get([]byte("ProtocolVersion"))