mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
cmd+lntest: use the new rpc field Payment_INITIATED
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
65879a45e6
commit
17a0a8de06
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user