Invalid flags after payinvoice
's pay_req are being ignored
#9440
Labels
enhancement
Improvements to existing features / behaviour
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: [email protected]Steps 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 it makes sense, I can try to implement that check.
The text was updated successfully, but these errors were encountered: