Browse Source

Merge #222: Better formatting for four digit tx index in wallet history output

8059532 Better formatting for four digit tx index in wallet history output (Kristaps Kaupe)
master
AdamISZ 7 years ago
parent
commit
529b315bc7
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 2
      jmclient/jmclient/wallet_utils.py

2
jmclient/jmclient/wallet_utils.py

@ -674,7 +674,7 @@ def wallet_fetch_history(wallet, options):
+ ' in, ' + str(len(our_output_scripts)) + ' out')
balance += delta_balance
utxo_count += (len(our_output_scripts) - utxos_consumed)
index = '% 4d'%(tx_number)
index = '%4d'%(tx_number)
tx_number += 1
timestamp = datetime.fromtimestamp(rpctx['blocktime']
).strftime("%Y-%m-%d %H:%M")

Loading…
Cancel
Save