mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-21 14:10:35 +02:00
rpcserver+routerrpc: thread features + payment addr to SendPayment
This commit is contained in:
@@ -602,6 +602,8 @@ func (r *RouterBackend) extractIntentFromSendRequest(
|
||||
payIntent.RouteHints = append(
|
||||
payIntent.RouteHints, payReq.RouteHints...,
|
||||
)
|
||||
payIntent.DestFeatures = payReq.Features
|
||||
payIntent.PaymentAddr = payReq.PaymentAddr
|
||||
} else {
|
||||
// Otherwise, If the payment request field was not specified
|
||||
// (and a custom route wasn't specified), construct the payment
|
||||
|
Reference in New Issue
Block a user