Commit 182d36c4 authored by Matthew Slipper's avatar Matthew Slipper Committed by Mark Tyneway

use correct ancient path

parent 8381a6f4
...@@ -141,7 +141,7 @@ func main() { ...@@ -141,7 +141,7 @@ func main() {
} }
chaindataPath := filepath.Join(ctx.String("db-path"), "geth", "chaindata") chaindataPath := filepath.Join(ctx.String("db-path"), "geth", "chaindata")
ancientPath := filepath.Join(ctx.String("db-path"), "ancient") ancientPath := filepath.Join(chaindataPath, "ancient")
ldb, err := rawdb.NewLevelDBDatabaseWithFreezer(chaindataPath, int(1024), int(60), ancientPath, "", false) ldb, err := rawdb.NewLevelDBDatabaseWithFreezer(chaindataPath, int(1024), int(60), ancientPath, "", false)
if err != nil { if err != nil {
return err return err
......
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