Browse Source
Fixed potential bug when clicking in History List on slow wallet synch
3.3.3.1
Calin Culianu
6 years ago
committed by
SomberNight
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
3 additions and
1 deletions
-
electrum/gui/qt/history_list.py
|
|
@ -330,6 +330,9 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): |
|
|
|
tx_hash = item.data(0, Qt.UserRole) |
|
|
|
if not tx_hash: |
|
|
|
return |
|
|
|
tx = self.wallet.transactions.get(tx_hash) |
|
|
|
if not tx: |
|
|
|
return |
|
|
|
if column is 0: |
|
|
|
column_title = "ID" |
|
|
|
column_data = tx_hash |
|
|
@ -338,7 +341,6 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): |
|
|
|
column_data = item.text(column) |
|
|
|
tx_URL = block_explorer_URL(self.config, 'tx', tx_hash) |
|
|
|
height = self.wallet.get_tx_height(tx_hash).height |
|
|
|
tx = self.wallet.transactions.get(tx_hash) |
|
|
|
is_relevant, is_mine, v, fee = self.wallet.get_wallet_delta(tx) |
|
|
|
is_unconfirmed = height <= 0 |
|
|
|
pr_key = self.wallet.invoices.paid.get(tx_hash) |
|
|
|