mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 23:02:33 +02:00
routerrpc: add MppTimeout code to failures
This commit is contained in:
@@ -415,6 +415,9 @@ func marshallError(sendError error) (*Failure, error) {
|
||||
case *lnwire.FailPermanentChannelFailure:
|
||||
response.Code = Failure_PERMANENT_CHANNEL_FAILURE
|
||||
|
||||
case *lnwire.FailMPPTimeout:
|
||||
response.Code = Failure_MPP_TIMEOUT
|
||||
|
||||
case nil:
|
||||
response.Code = Failure_UNKNOWN_FAILURE
|
||||
|
||||
|
Reference in New Issue
Block a user