1
0

update occurences of get_history

This commit is contained in:
ThomasV
2015-03-30 20:17:24 +02:00
parent 81372ffe4b
commit f051a3e577
5 changed files with 11 additions and 15 deletions

View File

@@ -108,10 +108,10 @@ class ElectrumGui:
self.history = []
for item in self.wallet.get_history():
tx_hash, conf, is_mine, value, fee, balance, timestamp = item
tx_hash, conf, value, timestamp, balance = item
if conf:
try:
time_str = datetime.datetime.fromtimestamp( timestamp).isoformat(' ')[:-3]
time_str = datetime.datetime.fromtimestamp(timestamp).isoformat(' ')[:-3]
except Exception:
time_str = "------"
else: