|
|
|
|
@ -100,12 +100,12 @@ class ElectrumGui:
|
|
|
|
|
messages = [] |
|
|
|
|
|
|
|
|
|
for item in self.wallet.get_tx_history(): |
|
|
|
|
tx_hash, conf, is_mine, value, fee, balance, timestamp = item |
|
|
|
|
if conf: |
|
|
|
|
tx_hash, confirmations, is_mine, value, fee, balance, timestamp = item |
|
|
|
|
if confirmations: |
|
|
|
|
try: |
|
|
|
|
time_str = datetime.datetime.fromtimestamp( timestamp).isoformat(' ')[:-3] |
|
|
|
|
except: |
|
|
|
|
time_str = "------" |
|
|
|
|
time_str = "unknown" |
|
|
|
|
else: |
|
|
|
|
time_str = 'pending' |
|
|
|
|
|
|
|
|
|
|