Skip to content

Commit 194d021

Browse files
committed
cmd: improve instantout ux
1 parent 1be6d39 commit 194d021

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmd/loop/instantout.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ func instantOut(ctx *cli.Context) error {
8383
fmt.Printf("Available reservations: \n\n")
8484
for _, res := range confirmedReservations {
8585
idx++
86-
fmt.Printf("Reservation %v: %v \n", idx, res.Amount)
86+
fmt.Printf("Reservation %v: shortid %x, amt %v, expiry "+
87+
"height %v \n", idx, res.ReservationId[:3], res.Amount,
88+
res.Expiry)
89+
8790
totalAmt += int64(res.Amount)
8891
}
8992

0 commit comments

Comments
 (0)