diff --git a/cmd/lncli/cmd_payments.go b/cmd/lncli/cmd_payments.go index 007cca7d0..8d8a5c160 100644 --- a/cmd/lncli/cmd_payments.go +++ b/cmd/lncli/cmd_payments.go @@ -662,7 +662,9 @@ func printLivePayment(ctxc context.Context, } // Terminate loop if payments state is final. - if payment.Status != lnrpc.Payment_IN_FLIGHT { + if payment.Status != lnrpc.Payment_IN_FLIGHT && + payment.Status != lnrpc.Payment_INITIATED { + return payment, nil } } diff --git a/itest/lnd_max_htlcs_test.go b/itest/lnd_max_htlcs_test.go index 72d6ac031..36a99e1f1 100644 --- a/itest/lnd_max_htlcs_test.go +++ b/itest/lnd_max_htlcs_test.go @@ -136,7 +136,7 @@ func acceptHoldInvoice(ht *lntest.HarnessTest, idx int, sender, // the payer to get one update for the creation of the payment, and // another when a htlc is dispatched. payment := ht.AssertPaymentStatusFromStream( - payStream, lnrpc.Payment_IN_FLIGHT, + payStream, lnrpc.Payment_INITIATED, ) require.Empty(ht, payment.Htlcs)