lnrpc: update routerrpc to use the new status
This commit is contained in:
1 parent
c175386c4d
commit
65879a45e6
5 files changed
+1011
-983
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user