From 7669ac3918438fdf3d604a31f8904dfd58afbe15 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 20 Feb 2017 16:33:45 -0800 Subject: [PATCH] rpc: populate the payment route taken in resp to SendPaymentSync --- rpcserver.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpcserver.go b/rpcserver.go index 95de1dc2..4d612f9d 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1044,7 +1044,9 @@ func (r *rpcServer) SendPaymentSync(ctx context.Context, return nil, err } - return &lnrpc.SendResponse{}, nil + return &lnrpc.SendResponse{ + PaymentRoute: marshalRoute(route), + }, nil } // AddInvoice attempts to add a new invoice to the invoice database. Any