From 964f1fd3ff9ee675ad84bcf01f4999d29e3e61c4 Mon Sep 17 00:00:00 2001 From: Russell Jancewicz Date: Fri, 1 Nov 2024 13:21:07 -0400 Subject: [PATCH] Enable readerFeatures in minReaderVersion 3 Fixes a check so readerFeatures is enabled on version 3 or higher Signed-off-by: Russell Jancewicz --- crates/core/src/kernel/models/actions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/core/src/kernel/models/actions.rs b/crates/core/src/kernel/models/actions.rs index bfcd9ec757..4341ff5324 100644 --- a/crates/core/src/kernel/models/actions.rs +++ b/crates/core/src/kernel/models/actions.rs @@ -177,7 +177,7 @@ impl Protocol { self } - /// Converts existing properties into features if the reader_version is >=3 or writer_version >=3 + /// Converts existing properties into features if the reader_version is >=3 or writer_version >=7 /// only converts features that are "true" pub fn move_table_properties_into_features( mut self, @@ -212,7 +212,7 @@ impl Protocol { None => self.writer_features = Some(converted_writer_features), } } - if self.min_reader_version > 3 { + if self.min_reader_version >= 3 { let converted_reader_features = configuration .iter() .filter(|(_, value)| {