1
0

Merge pull request #9771 from f321x/fix_tx_dialog_exception

fix: type error when loading psbt with lnworker enabled
This commit is contained in:
ThomasV
2025-04-30 13:54:32 +02:00
committed by GitHub

View File

@@ -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)