From 768eb35c864f1f0b4220f24f62f7edae094923cf Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 24 Jan 2023 14:45:55 +0100 Subject: [PATCH] follow-up 5d9678a2690abbfbb22dc137f94e51fea28a95fd --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index 90f428953..78df09282 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -941,7 +941,7 @@ class LNWallet(LNWorker): amount_msat = 0 label = 'Reverse swap' if swap.is_reverse else 'Forward swap' delta = current_height - swap.locktime - if self.wallet.adb.is_mine(swap.funding_txid): + if self.wallet.adb.is_mine(swap.lockup_address): tx_height = self.wallet.adb.get_tx_height(swap.funding_txid) if swap.is_reverse and tx_height.height <= 0: label += ' (%s)' % _('waiting for funding tx confirmation')