routerrpc: fix empty payment request bug
This commit is contained in:
parent
7ba5bf69e0
commit
bc7ee9a7d0
@ -650,6 +650,7 @@ func (r *RouterBackend) extractIntentFromSendRequest(
|
|||||||
)
|
)
|
||||||
payIntent.DestFeatures = payReq.Features
|
payIntent.DestFeatures = payReq.Features
|
||||||
payIntent.PaymentAddr = payReq.PaymentAddr
|
payIntent.PaymentAddr = payReq.PaymentAddr
|
||||||
|
payIntent.PaymentRequest = []byte(rpcPayReq.PaymentRequest)
|
||||||
} else {
|
} else {
|
||||||
// Otherwise, If the payment request field was not specified
|
// Otherwise, If the payment request field was not specified
|
||||||
// (and a custom route wasn't specified), construct the payment
|
// (and a custom route wasn't specified), construct the payment
|
||||||
|
Loading…
Reference in New Issue
Block a user