File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -125,22 +125,19 @@ def json_deserialize_with_clvm_streamable(
125
125
for old_field in old_streamable_fields :
126
126
if is_compound_type (old_field .type ):
127
127
inner_type = get_args (old_field .type )[0 ]
128
- if is_clvm_streamable_type (inner_type ):
129
- new_streamable_fields .append (
130
- dataclasses .replace (
131
- old_field ,
132
- convert_function = function_to_convert_one_item (
133
- old_field .type ,
134
- functools .partial (
135
- json_deserialize_with_clvm_streamable ,
136
- streamable_type = inner_type ,
137
- translation_layer = translation_layer ,
138
- ),
128
+ new_streamable_fields .append (
129
+ dataclasses .replace (
130
+ old_field ,
131
+ convert_function = function_to_convert_one_item (
132
+ old_field .type ,
133
+ functools .partial (
134
+ json_deserialize_with_clvm_streamable ,
135
+ streamable_type = inner_type ,
136
+ translation_layer = translation_layer ,
139
137
),
140
- )
138
+ ),
141
139
)
142
- else :
143
- new_streamable_fields .append (old_field )
140
+ )
144
141
elif is_clvm_streamable_type (old_field .type ):
145
142
new_streamable_fields .append (
146
143
dataclasses .replace (
You can’t perform that action at this time.
0 commit comments