routerrpc: fix empty payment request bug
This commit is contained in:
1 file changed
+1
@@ -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