lnrpc: update routerrpc to use the new status

This commit is contained in:
yyforyongyu authored and Olaoluwa Osuntokun committed 2023-10-06 16:34:47 -07:00
1 parent c175386c4d
commit 65879a45e6
5 files changed
+1011 -983

No files matched your search

+3
View File
@@ -1370,6 +1370,9 @@ func convertPaymentStatus(dbStatus channeldb.PaymentStatus) (
lnrpc.Payment_PaymentStatus, error) {
switch dbStatus {
case channeldb.StatusInitiated:
return lnrpc.Payment_INITIATED, nil
case channeldb.StatusInFlight:
return lnrpc.Payment_IN_FLIGHT, nil