From bc7ee9a7d08f0397b08f8a9bce3321de1a6898ed Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Tue, 31 Mar 2020 13:42:36 +0200 Subject: [PATCH] routerrpc: fix empty payment request bug --- lnrpc/routerrpc/router_backend.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lnrpc/routerrpc/router_backend.go b/lnrpc/routerrpc/router_backend.go index 259f78f7..6465c268 100644 --- a/lnrpc/routerrpc/router_backend.go +++ b/lnrpc/routerrpc/router_backend.go @@ -650,6 +650,7 @@ func (r *RouterBackend) extractIntentFromSendRequest( ) payIntent.DestFeatures = payReq.Features payIntent.PaymentAddr = payReq.PaymentAddr + payIntent.PaymentRequest = []byte(rpcPayReq.PaymentRequest) } else { // Otherwise, If the payment request field was not specified // (and a custom route wasn't specified), construct the payment