diff --git a/lnrpc/routerrpc/router_backend.go b/lnrpc/routerrpc/router_backend.go index 74775fc5..6bb5b8be 100644 --- a/lnrpc/routerrpc/router_backend.go +++ b/lnrpc/routerrpc/router_backend.go @@ -648,6 +648,10 @@ func (r *RouterBackend) extractIntentFromSendRequest( payIntent.Amount = *payReq.MilliSat } + if !payReq.Features.HasFeature(lnwire.MPPOptional) { + payIntent.MaxParts = 1 + } + copy(payIntent.PaymentHash[:], payReq.PaymentHash[:]) destKey := payReq.Destination.SerializeCompressed() copy(payIntent.Target[:], destKey)