tqt: minor fix - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 63227142227e46c269fd5ffded4d9f0ecf5d4525
DIR parent 8680eae86f3b0f25d1cb6bd949f1425664dfe379
HTML Author: ThomasV <thomasv@electrum.org>
Date: Mon, 30 May 2016 16:10:25 +0200
qt: minor fix
Diffstat:
M gui/qt/history_list.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py
t@@ -80,7 +80,7 @@ class HistoryList(MyTreeWidget):
tx_hash, height, conf, timestamp, value, balance = h_item
if conf == 0:
tx = self.wallet.transactions.get(tx_hash)
- is_final = tx.is_final()
+ is_final = tx and tx.is_final()
else:
is_final = True
icon, time_str = self.get_icon(height, conf, timestamp, is_final)