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:
3 files changed
+207
-193
No files matched your search
@@ -912,6 +912,10 @@
|
||||
"type": "string",
|
||||
"format": "string"
|
||||
},
|
||||
"payment_request": {
|
||||
"type": "string",
|
||||
"format": "string"
|
||||
},
|
||||
"r_hash": {
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
|
||||
Reference in new issue
Block a user