mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
gui_stdio: fix tabs->spaces
This commit is contained in:
parent
56ebc02cad
commit
c7f776c5ca
1 changed files with 14 additions and 14 deletions
|
@ -100,12 +100,12 @@ class ElectrumGui:
|
||||||
messages = []
|
messages = []
|
||||||
|
|
||||||
for item in self.wallet.get_tx_history():
|
for item in self.wallet.get_tx_history():
|
||||||
tx_hash, conf, is_mine, value, fee, balance, timestamp = item
|
tx_hash, confirmations, is_mine, value, fee, balance, timestamp = item
|
||||||
if conf:
|
if confirmations:
|
||||||
try:
|
try:
|
||||||
time_str = datetime.datetime.fromtimestamp( timestamp).isoformat(' ')[:-3]
|
time_str = datetime.datetime.fromtimestamp( timestamp).isoformat(' ')[:-3]
|
||||||
except:
|
except:
|
||||||
time_str = "------"
|
time_str = "unknown"
|
||||||
else:
|
else:
|
||||||
time_str = 'pending'
|
time_str = 'pending'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue