rpcserver+routerrpc: thread features + payment addr to SendPayment

This commit is contained in:
Conner Fromknecht committed 2019-12-18 23:56:59 -08:00
1 parent 0993256b77
commit f868bc128b
4 files changed
+27 -3

No files matched your search

+2
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