mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
main_window: don't update history in offline mode
This commit is contained in:
parent
a7440fc89c
commit
43a4b68ee8
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue