From 8059532555f2e86df2fbba1f41bbe70771535f6c Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Sun, 18 Nov 2018 17:42:29 +0200 Subject: [PATCH] Better formatting for four digit tx index in wallet history output --- jmclient/jmclient/wallet_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jmclient/jmclient/wallet_utils.py b/jmclient/jmclient/wallet_utils.py index de3c28f..b7032f0 100644 --- a/jmclient/jmclient/wallet_utils.py +++ b/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")