rpcserver+routerrpc: thread features + payment addr to SendPayment

This commit is contained in:
Conner Fromknecht
2019-12-18 23:56:59 -08:00
parent 0993256b77
commit f868bc128b
4 changed files with 27 additions and 3 deletions

View File

@@ -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