diff --git a/chaindata/util/chaindata_test.go b/chaindata/util/chaindata_test.go index 7f56957..fc02158 100644 --- a/chaindata/util/chaindata_test.go +++ b/chaindata/util/chaindata_test.go @@ -11,11 +11,11 @@ import ( func testReadChainData(t *testing.T, name string) { ChainDataPath, AncientDataPath := util.ChainDataPaths(name) - kvdb, ldberr := rawdb.NewLevelDBDatabase(ChainDataPath, 1024, 256, "vdb-geth", false) + kvdb, ldberr := rawdb.NewLevelDBDatabase(ChainDataPath, 1024, 256, "vdb-geth", true) if ldberr != nil { t.Fatal(ldberr) } - edb, err := rawdb.NewDatabaseWithFreezer(kvdb, AncientDataPath, "vdb-geth", false) + edb, err := rawdb.NewDatabaseWithFreezer(kvdb, AncientDataPath, "vdb-geth", true) if err != nil { t.Fatal(err) }