diff --git a/scalecodec/types.py b/scalecodec/types.py index 0415867..368286b 100644 --- a/scalecodec/types.py +++ b/scalecodec/types.py @@ -636,7 +636,9 @@ def __init__(self, data=None, type_mapping=None, **kwargs): def process(self): if len(self.type_mapping) == 1: - return self.process_type(self.type_mapping[0], metadata=self.metadata).value + obj = self.process_type(self.type_mapping[0], metadata=self.metadata) + self.value_object = obj.value_object + return obj.value result = () self.value_object = ()