Skip to content

Commit

Permalink
Cast to program while deserializing
Browse files Browse the repository at this point in the history
  • Loading branch information
Quexington committed Nov 20, 2023
1 parent 41337c5 commit a0a5a0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hsms/clvm_serde/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ def de(p: Program) -> Tuple[Any, ...]:
while todo:
des = todo.pop()
if todo:
v = p.pair[0]
p = p.pair[1]
v = Program.to(p.pair[0])
p = Program.to(p.pair[1])
else:
v = p
args.append(des(v))
Expand Down

0 comments on commit a0a5a0e

Please sign in to comment.