lnrpc/routerrpc: add payment addr to SendPaymentRequest

Fixes #4692
This commit is contained in:
Olaoluwa Osuntokun committed 2021-01-05 19:04:57 -08:00
1 parent fbb3e400b8
commit b85c92d8d5
4 files changed
+191 -165

No files matched your search

+5
View File
@@ -1249,6 +1249,11 @@
"format": "int32",
"description": "The CLTV delta from the current height that should be used to set the\ntimelock for the final hop."
},
"payment_addr": {
"type": "string",
"format": "byte",
"description": "An optional payment addr to be included within the last hop of the route."
},
"payment_request": {
"type": "string",
"description": "A bare-bones invoice for a payment within the Lightning Network. With the\ndetails of the invoice, the sender has all the data necessary to send a\npayment to the recipient. The amount in the payment request may be zero. In\nthat case it is required to set the amt field as well. If no payment request\nis specified, the following fields are required: dest, amt and payment_hash."