Commit 3369efef authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #4126 from...

Merge pull request #4126 from ethereum-optimism/11-30-op-chain-ops_Migration_should_not_use_readonly

op-chain-ops: Migration should not use readonly
parents 9e7a7d9d eb7e9d18
...@@ -142,7 +142,7 @@ func main() { ...@@ -142,7 +142,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(ctx.String("db-path"), "ancient")
ldb, err := rawdb.NewLevelDBDatabaseWithFreezer(chaindataPath, int(1024), int(60), ancientPath, "", true) 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