From 4b7873708add91984ffde2c2c4331fded8124989 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Tue, 4 May 2021 13:21:51 +0700 Subject: [PATCH] clean (#1870) --- ethdb/kv_mdbx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethdb/kv_mdbx.go b/ethdb/kv_mdbx.go index e728cdb55..7f4b8f53a 100644 --- a/ethdb/kv_mdbx.go +++ b/ethdb/kv_mdbx.go @@ -346,7 +346,7 @@ func (db *MdbxKV) BeginRw(_ context.Context) (txn RwTx, err error) { } }() - tx, err := db.env.BeginTxn(nil, mdbx.TxNoMetaSync|mdbx.TxNoSync) + tx, err := db.env.BeginTxn(nil, 0) if err != nil { runtime.UnlockOSThread() // unlock only in case of error. normal flow is "defer .Rollback()" return nil, err