aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-04-21 18:09:35 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-04-21 18:09:35 +0800
commit1dc91975ad801418f6756381275d52549949f4dd (patch)
tree60b1701192988e10eda878da302d2ea1fd088a40 /eth/backend.go
parent8fce55b4c2ea65d8a3ed27b2abe5526369be35ab (diff)
parent805345d13594b41e5dd2e4fed471c58c3775be9e (diff)
downloadgo-tangerine-1dc91975ad801418f6756381275d52549949f4dd.tar.gz
go-tangerine-1dc91975ad801418f6756381275d52549949f4dd.tar.zst
go-tangerine-1dc91975ad801418f6756381275d52549949f4dd.zip
Merge pull request #756 from Gustav-Simonsson/block_test_improvements
Block test improvements
Diffstat (limited to 'eth/backend.go')
-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"))