We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
payinvoice
Flags after lncli payinvoice [command options] pay_req are being ignored.
lncli payinvoice [command options] pay_req
lnd
uname -a
btcd
bitcoind
These fail as expected:
lncli -n=signet payinvoice --last_hop=123 lntbs60030...hj32cppyeeac >>> [lncli] invalid vertex string length of 3, want 66 lncli -n=signet payinvoice lntbs60030...hj32cppyeeac --last_hop=123 >>> [lncli] invalid vertex string length of 3, want 66 lncli -n=signet payinvoice --last_hop_non_existing=123 lntbs60030...hj32cppyeeac >>> [lncli] flag provided but not defined: -last_hop_non_existing
But this doesn't:
lncli -n=signet payinvoice lntbs60030...hj32cppyeeac --last_hop_non_existing=123 >>> Payment hash: ... Description: ... Amount (in satoshis): 1 Fee limit (in satoshis): 300 Destination: ... Confirm payment (yes/no): no [lncli] payment not confirmed
Shouldn't we do the same check as we do for sendpayment here?
sendpayment
lncli -n=signet sendpayment --last_hop=123 --pay_req=lntbs60030...hj32cppyeeac >>> [lncli] invalid vertex string length of 3, want 66 lncli -n=signet sendpayment --pay_req=lntbs60030...hj32cppyeeac --last_hop=123 >>> [lncli] invalid vertex string length of 3, want 66 lncli -n=signet sendpayment --last_hop_non_existing=123 --pay_req=lntbs60030...hj32cppyeeac >>> [lncli] flag provided but not defined: -last_hop_non_existing lncli -n=signet sendpayment --pay_req=lntbs60030...hj32cppyeeac --last_hop_non_existing=123 >>> [lncli] flag provided but not defined: -last_hop_non_existing
I think we should output the same error for payinvoice, eg:
lncli -n=signet payinvoice lntbs60030...hj32cppyeeac --last_hop_non_existing=123 >>> [lncli] flag provided but not defined: -last_hop_non_existing
If that makes sense, I can try to implement that check.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Background
Flags after
lncli payinvoice [command options] pay_req
are being ignored.Your environment
lnd
: lnd-darwin-arm64-v0.18.4-betauname -a
on *Nix): Darwin 24.2.0btcd
,bitcoind
, or other backend: bitcoind@v28.0.0Steps to reproduce
These fail as expected:
But this doesn't:
Expected behaviour
Shouldn't we do the same check as we do for
sendpayment
here?I think we should output the same error for
payinvoice
, eg:If that makes sense, I can try to implement that check.
The text was updated successfully, but these errors were encountered: