tfix #5704 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d35791ff65672ff6d06462da115c5f374d023e1d DIR parent 8c22be87b02152f35485705dcd47ca148d81bb74 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 16 Oct 2019 11:35:50 +0200 fix #5704 Diffstat: M electrum/gui/qt/channel_details.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) --- DIR diff --git a/electrum/gui/qt/channel_details.py b/electrum/gui/qt/channel_details.py t@@ -54,13 +54,14 @@ class ChannelDetailsDialog(QtWidgets.QDialog): self.folders[keyname] = folder mapping = {} num = 0 - - for pay_hash, item in htlcs.items(): - chan_id, i, direction, status = item - it = self.make_htlc_item(i, direction) - self.folders[status].appendRow(it) - mapping[i.payment_hash] = num - num += 1 + for pay_hash, item in htlcs.items(): + chan_id, i, direction, status = item + if status != keyname: + continue + it = self.make_htlc_item(i, direction) + self.folders[keyname].appendRow(it) + mapping[i.payment_hash] = num + num += 1 self.keyname_rows[keyname] = mapping return model