-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature]: support multiple outgoing channel IDs in lncli #7915
Comments
The API docs don't describe LNCLI, they describe the API that LNCLI uses |
As suspected, the command line only takes a single parameter and adds it to the Probably the reason for it is that the CLI library doesn't offer a For your use case it might be simpler to just create a small NodeJS or Python wrapper script that feeds the params into an RPC call. |
May I take this one? |
By the way, for the query routes call, I would say we need to change it to accept the same as the payment, an array of strings for the outgoing_chan_id. Let me know if I can fix it with this issue. 😄 |
Solved here: |
reopening as the pr is not merged yet |
I want to pay an invoice using either all channels except A B C or define them X Y Z
lncli payinvoice --timeout 20m --fee_limit 35 --outgoing_chan_id XXX YYY ZZZ --pay_req
results in only XXX being used.
lncli payinvoice --timeout 20m --fee_limit 35 —outgoing_chan_id XXX —outgoing_chan_id YYY —outgoing_chan_id ZZZ --pay_req
results in only ZZZ being used.
response when using the --outgoing_chan_ids flag described in api-docs
[lncli] flag provided but not defined: -outgoing_chan_ids
LND_0.16.4-beta
what am I missing?
The text was updated successfully, but these errors were encountered: