diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-21 18:09:35 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-21 18:09:35 +0800 |
commit | 1dc91975ad801418f6756381275d52549949f4dd (patch) | |
tree | 60b1701192988e10eda878da302d2ea1fd088a40 /eth | |
parent | 8fce55b4c2ea65d8a3ed27b2abe5526369be35ab (diff) | |
parent | 805345d13594b41e5dd2e4fed471c58c3775be9e (diff) | |
download | go-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')
-rw-r--r-- | eth/backend.go | 5 |
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")) |