mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-23 17:59:41 +02:00
routerrpc: fix empty payment request bug
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user