From 955d3cfc6deb5e67caae0d85d6db0d5401c4b9e2 Mon Sep 17 00:00:00 2001 From: f321x Date: Tue, 29 Apr 2025 16:19:33 +0200 Subject: [PATCH] fix: type error when loading unsigned transaction --- electrum/gui/qt/transaction_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/transaction_dialog.py b/electrum/gui/qt/transaction_dialog.py index 74c50760d..47d86d60c 100644 --- a/electrum/gui/qt/transaction_dialog.py +++ b/electrum/gui/qt/transaction_dialog.py @@ -822,7 +822,7 @@ class TxDialog(QDialog, MessageBoxMixin): tx_item_fiat = self.wallet.get_tx_item_fiat( tx_hash=txid, amount_sat=abs(amount), fx=fx, tx_fee=fee) - if self.wallet.lnworker: + if self.wallet.lnworker and txid: # if it is a group, collect ln amount full_history = self.wallet.get_full_history() item = full_history.get('group:' + txid)