Browse Source

main_window: don't update history in offline mode

283
Roman Zeyde 10 years ago
parent
commit
43a4b68ee8
  1. 3
      gui/qt/main_window.py

3
gui/qt/main_window.py

@ -689,6 +689,9 @@ class ElectrumWindow(QMainWindow):
for item in self.wallet.get_history(self.current_account):
tx_hash, conf, value, timestamp, balance = item
time_str = _("unknown")
if conf is None and timestamp is None:
continue # skip history in offline mode
if conf > 0:
time_str = self.format_time(timestamp)
if conf == -1:

Loading…
Cancel
Save