|
@ -330,6 +330,9 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): |
|
|
tx_hash = item.data(0, Qt.UserRole) |
|
|
tx_hash = item.data(0, Qt.UserRole) |
|
|
if not tx_hash: |
|
|
if not tx_hash: |
|
|
return |
|
|
return |
|
|
|
|
|
tx = self.wallet.transactions.get(tx_hash) |
|
|
|
|
|
if not tx: |
|
|
|
|
|
return |
|
|
if column is 0: |
|
|
if column is 0: |
|
|
column_title = "ID" |
|
|
column_title = "ID" |
|
|
column_data = tx_hash |
|
|
column_data = tx_hash |
|
@ -338,7 +341,6 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): |
|
|
column_data = item.text(column) |
|
|
column_data = item.text(column) |
|
|
tx_URL = block_explorer_URL(self.config, 'tx', tx_hash) |
|
|
tx_URL = block_explorer_URL(self.config, 'tx', tx_hash) |
|
|
height = self.wallet.get_tx_height(tx_hash).height |
|
|
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_relevant, is_mine, v, fee = self.wallet.get_wallet_delta(tx) |
|
|
is_unconfirmed = height <= 0 |
|
|
is_unconfirmed = height <= 0 |
|
|
pr_key = self.wallet.invoices.paid.get(tx_hash) |
|
|
pr_key = self.wallet.invoices.paid.get(tx_hash) |
|
|