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