From 1b2f75bb84970b258827ef3b67529a9f2286961c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 15 Mar 2014 10:01:25 +0100 Subject: [PATCH] do not display tx amounts in an offline wallet --- gui/qt/transaction_dialog.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py index 6a7a1eb52..b9f775c60 100644 --- a/gui/qt/transaction_dialog.py +++ b/gui/qt/transaction_dialog.py @@ -155,6 +155,13 @@ class TxDialog(QDialog): else: self.date_label.hide() + + # if we are not synchronized, we cannot tell + if self.parent.network is None or not self.parent.network.is_running() or not self.parent.network.is_connected(): + return + if not self.wallet.up_to_date: + return + if is_relevant: if is_mine: if fee is not None: