Browse Source

fix #5704

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
d35791ff65
  1. 15
      electrum/gui/qt/channel_details.py

15
electrum/gui/qt/channel_details.py

@ -54,13 +54,14 @@ class ChannelDetailsDialog(QtWidgets.QDialog):
self.folders[keyname] = folder self.folders[keyname] = folder
mapping = {} mapping = {}
num = 0 num = 0
for pay_hash, item in htlcs.items():
for pay_hash, item in htlcs.items(): chan_id, i, direction, status = item
chan_id, i, direction, status = item if status != keyname:
it = self.make_htlc_item(i, direction) continue
self.folders[status].appendRow(it) it = self.make_htlc_item(i, direction)
mapping[i.payment_hash] = num self.folders[keyname].appendRow(it)
num += 1 mapping[i.payment_hash] = num
num += 1
self.keyname_rows[keyname] = mapping self.keyname_rows[keyname] = mapping
return model return model

Loading…
Cancel
Save