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:
parent
1be6d39677
commit
194d021824
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user