diff --git a/sbe/__init__.py b/sbe/__init__.py index fbb865d..5d32b9a 100644 --- a/sbe/__init__.py +++ b/sbe/__init__.py @@ -499,7 +499,6 @@ def decode(self, buffer: Union[bytes, memoryview]) -> dict: format_str_parts = [] for f in m.fields: if isinstance(f, Group): - assert cursor.val >= header.value['blockLength'] if cursor.val < header.value['blockLength']: format_str_parts.append(str(header.value['blockLength'] - cursor.val) + 'x') cursor.val = header.value['blockLength']