|
@@ -55,7 +55,7 @@ def do_output(proto,addr_data,blk_hdrs):
|
|
|
make_timestr( blk_hdrs[u['height']]['time'] ),
|
|
|
CoinTxID(u['txid']).hl(),
|
|
|
red(str(u['vout']).rjust(4)),
|
|
|
- proto.coin_amt(u['amount']).fmt(color=True,fs='6.8')
|
|
|
+ proto.coin_amt(u['amount']).fmt(color=True,iwidth=6,prec=8)
|
|
|
))
|
|
|
else:
|
|
|
Msg(f'{indent}No balance')
|
|
@@ -94,7 +94,7 @@ def do_output_tabular(proto,addr_data,blk_hdrs):
|
|
|
t = make_timestr( blk_hdrs[unspents[0]['height']]['time'] ),
|
|
|
B = unspents[-1]['height'],
|
|
|
T = make_timestr( blk_hdrs[unspents[-1]['height']]['time'] ),
|
|
|
- A = proto.coin_amt(sum(u['amount'] for u in unspents)).fmt(color=True,fs='7.8')
|
|
|
+ A = proto.coin_amt(sum(u['amount'] for u in unspents)).fmt(color=True,iwidth=7,prec=8)
|
|
|
))
|
|
|
else:
|
|
|
Msg(fs.format(
|