From e4ee6a1f5b4403d089eefb13da79ed6c2cbed63a Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Fri, 28 May 2021 08:54:23 +0700 Subject: [PATCH] allow lmdb_to_mdbx create buckets --- cmd/integration/commands/refetence_db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/integration/commands/refetence_db.go b/cmd/integration/commands/refetence_db.go index 5730e1045..6f24a4409 100644 --- a/cmd/integration/commands/refetence_db.go +++ b/cmd/integration/commands/refetence_db.go @@ -405,7 +405,7 @@ MainLoop: func lmdbToMdbx(ctx context.Context, from, to string) error { _ = os.RemoveAll(to) - src := ethdb.NewLMDB().Path(from).Flags(func(flags uint) uint { return (flags | lmdb.Readonly) ^ lmdb.NoReadahead }).MustOpen() + src := ethdb.NewLMDB().Path(from).MustOpen() dst := ethdb.NewMDBX().Path(to).MustOpen() return kv2kv(ctx, src, dst) }