lnrpc+routing: Only accept a single route for SendToRoute

This commit is contained in:
Joost Jager committed 2019-05-15 11:54:46 +02:00
1 parent 0b66d56aab
commit ba3fa94268
10 files changed
+693 -736

No files matched your search

-7
View File
@@ -3216,13 +3216,6 @@
"type": "string",
"description": "/ An optional hex-encoded payment hash to be used for the HTLC."
},
"routes": {
"type": "array",
"items": {
"$ref": "#/definitions/lnrpcRoute"
},
"description": "*\nDeprecated. The set of routes that should be used to attempt to complete the\npayment. The possibility to pass in multiple routes is deprecated and \ninstead the single route field below should be used in combination with the \nstreaming variant of SendToRoute."
},
"route": {
"$ref": "#/definitions/lnrpcRoute",
"description": "/ Route that should be used to attempt to complete the payment."