Skip to content

Commit

Permalink
from_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkiss committed Nov 10, 2023
1 parent 287b3aa commit 41337c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hsms/cmds/hsms.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
def unsigned_spend_from_blob(blob: bytes) -> UnsignedSpend:
try:
uncompressed_blob = zlib.decompress(blob)
return UnsignedSpend.from_program_bytes(uncompressed_blob)
return UnsignedSpend.from_bytes(uncompressed_blob)
except Exception:
return UnsignedSpend.from_program_bytes(blob)
return UnsignedSpend.from_bytes(blob)


def create_unsigned_spend_pipeline(
Expand Down

0 comments on commit 41337c5

Please sign in to comment.