Commit 2ce21cef authored by Felix Lange's avatar Felix Lange Committed by Gustav Simonsson

eth: use NewDB hook also for extra DB

(cherry picked from commit d5083033f15bb815a6212eddae16a7125db58738)
parent fa729a0c
......@@ -171,7 +171,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"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment