commit b9e5edd704534648bb4b016f216955ed176f447f
parent 06589df812d85597b0dc635f8d4e502cbdcfb5a6
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 23 Nov 2019 14:51:39 +0100
fix #5728
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum/gui/qt/channel_details.py b/electrum/gui/qt/channel_details.py
@@ -84,6 +84,8 @@ class ChannelDetailsDialog(QtWidgets.QDialog):
@QtCore.pyqtSlot(str, float, Direction, UpdateAddHtlc, bytes, bytes)
def do_ln_payment_completed(self, evtname, date, direction, htlc, preimage, chan_id):
+ if chan_id != self.chan.channel_id:
+ return
self.move('inflight', 'settled', htlc.payment_hash)
self.update_sent_received()