commit 63227142227e46c269fd5ffded4d9f0ecf5d4525
parent 8680eae86f3b0f25d1cb6bd949f1425664dfe379
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 30 May 2016 16:10:25 +0200
qt: minor fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py
@@ -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)