From a0a5a0e752dc1fae95c6602b11907416c9ec0a93 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 20 Nov 2023 10:12:52 -0800 Subject: [PATCH] Cast to program while deserializing --- hsms/clvm_serde/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hsms/clvm_serde/__init__.py b/hsms/clvm_serde/__init__.py index 4a28759..76d5cd5 100644 --- a/hsms/clvm_serde/__init__.py +++ b/hsms/clvm_serde/__init__.py @@ -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))