Print heman-readable transferred bytes in client list-transfers

This commit is contained in:
Łukasz Magiera 2020-09-30 13:51:52 +02:00
parent 4d4bab12eb
commit d2f279c3de

View File

@ -1423,7 +1423,7 @@ func toChannelOutput(useColor bool, otherPartyColumn string, channel lapi.DataTr
otherPartyColumn: otherParty,
"Root Cid": rootCid,
"Initiated?": initiated,
"Transferred": channel.Transferred,
"Transferred": units.BytesSize(float64(channel.Transferred)),
"Voucher": voucher,
"Message": channel.Message,
}