electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit d35791ff65672ff6d06462da115c5f374d023e1d
parent 8c22be87b02152f35485705dcd47ca148d81bb74
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 16 Oct 2019 11:35:50 +0200

fix #5704

Diffstat:
Melectrum/gui/qt/channel_details.py | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/electrum/gui/qt/channel_details.py b/electrum/gui/qt/channel_details.py @@ -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