commit 234591624e338ec2d9e966e9121cf3cbaa4e03fc
parent b8d908d63edf2b36029ce5c46b435a45db1ddecf
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 6 Jun 2019 09:43:25 +0200
request_lists: remove non-sense
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/electrum/gui/qt/request_list.py b/electrum/gui/qt/request_list.py
@@ -76,8 +76,6 @@ class RequestList(MyTreeView):
for i in range(self.model().rowCount()):
item = self.model().index(i, self.Columns.DATE)
row_key = item.data(ROLE_RHASH_OR_ADDR)
- if item.data(ROLE_REQUEST_TYPE) == REQUEST_TYPE_LN:
- row_key = self.wallet.lnworker.invoices[row_key][1]
if key == row_key:
self.selectionModel().setCurrentIndex(item, QItemSelectionModel.SelectCurrent | QItemSelectionModel.Rows)
break