From 2b88a14124f3e84de7f2374acdb930a78678322e Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Thu, 27 Mar 2025 11:21:55 -0400 Subject: [PATCH] bugfix --- shared/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/auth.py b/shared/auth.py index f74e3ad7..1146d498 100644 --- a/shared/auth.py +++ b/shared/auth.py @@ -1000,7 +1000,7 @@ class ApproveTransaction(UserAuthorizedAction): try: # re-serialize the PSBT back out with SFFile(TXN_OUTPUT_OFFSET, max_size=MAX_TXN_LEN, message="Saving...") as fd: - if self.do_finalize: + if self.do_finalize and self.psbt.is_complete(): txid = self.psbt.finalize(fd) else: self.psbt.serialize(fd)