diff --git a/scalecodec/types.py b/scalecodec/types.py index 368286b..abb907c 100644 --- a/scalecodec/types.py +++ b/scalecodec/types.py @@ -149,7 +149,7 @@ def process(self): option_byte = self.get_next_bytes(1) if self.sub_type and option_byte != b'\x00': - self.value_object = self.process_type(self.sub_type) + self.value_object = self.process_type(self.sub_type, metadata=self.metadata) return self.value_object.value return None