From ca0e4d21f1d6749a7cfa332377fb8a921210e9c1 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 3 Mar 2023 15:46:15 +0000 Subject: [PATCH] follow-up invoice changes: fix kivy lightning_tx_dialog follow-up 719b468eee8b3e13680f6e7b90194d618181fe0c --- electrum/gui/kivy/uix/dialogs/lightning_tx_dialog.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/electrum/gui/kivy/uix/dialogs/lightning_tx_dialog.py b/electrum/gui/kivy/uix/dialogs/lightning_tx_dialog.py index bdd588d73..04db15f4b 100644 --- a/electrum/gui/kivy/uix/dialogs/lightning_tx_dialog.py +++ b/electrum/gui/kivy/uix/dialogs/lightning_tx_dialog.py @@ -118,9 +118,7 @@ class LightningTxDialog(Factory.Popup): self.amount_str = format_amount(-self.amount if self.is_sent else self.amount) if tx_item.get('fee_msat'): self.fee_str = format_amount(Decimal(tx_item['fee_msat']) / 1000) - invoice = (self.app.wallet.get_invoice(self.payment_hash) - or self.app.wallet.get_request(self.payment_hash)) + self.invoice = '' + invoice = self.app.wallet.get_invoice(self.payment_hash) # only check outgoing invoices if invoice: self.invoice = invoice.lightning_invoice or '' - else: - self.invoice = ''