lnrpc: add encoded payment requests to the ListInvoices response

This commit modifies the ListInvoice RPC to also return the encoded
payment request in the response. With this change it’ll be possible to
always obtain the encoded payment for any invoice, rather than only
being able to obtain it directly after the creation of an invoice.
This commit is contained in:
Olaoluwa Osuntokun committed 2017-01-12 18:51:49 -08:00
1 parent 6a67d4848a
commit d79530e25d
3 files changed
+207 -193

No files matched your search

+4
View File
@@ -912,6 +912,10 @@
"type": "string",
"format": "string"
},
"payment_request": {
"type": "string",
"format": "string"
},
"r_hash": {
"type": "string",
"format": "byte"