diff --git a/src/oplog/entry.rs b/src/oplog/entry.rs index 62e4299..e368100 100644 --- a/src/oplog/entry.rs +++ b/src/oplog/entry.rs @@ -147,7 +147,7 @@ impl CompactEncoding for HypercoreState { None }; - let bitfield: Option = if flags & 4 != 0 { + let bitfield: Option = if flags & 8 != 0 { let value: BitfieldUpdate = self.decode(buffer)?; Some(value) } else {