2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-11 13:11:12 +00:00

cmd: improve instantout ux

This commit is contained in:
sputn1ck 2024-03-03 11:49:53 +01:00
parent 1be6d39677
commit 194d021824
No known key found for this signature in database
GPG Key ID: 671103D881A5F0E4

View File

@ -83,7 +83,10 @@ func instantOut(ctx *cli.Context) error {
fmt.Printf("Available reservations: \n\n")
for _, res := range confirmedReservations {
idx++
fmt.Printf("Reservation %v: %v \n", idx, res.Amount)
fmt.Printf("Reservation %v: shortid %x, amt %v, expiry "+
"height %v \n", idx, res.ReservationId[:3], res.Amount,
res.Expiry)
totalAmt += int64(res.Amount)
}