lnrpc: ensure parsing of the Amp flag for payments is consistent

In this commit, we fix an inconsistent in the API related to AMP
payments. When a payment request isn't specified, we require the `--amp`
flag on the CLI to make an AMP payment. However, for payment requests,
we don't require this flag. To fix this inconsistency, we now require
the `--amp` flag to _also_ be set for payment requests.
This commit is contained in:
Olaoluwa Osuntokun committed 2024-04-25 16:16:16 -07:00
1 parent ab2f34e13b
commit e8031fdccf
4 files changed
+52 -3

No files matched your search

@@ -368,6 +368,10 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
whether through gRPC or the REST API, due to the destructive nature of the
operation.
* When paying an AMP payment request, [the `--amp` flag is now
required](https://github.com/lightningnetwork/lnd/pull/8681) to be consistent
w/ the flow when a payment request isn't used.
## lncli Updates
* [Documented all available `lncli`
@@ -532,6 +536,7 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
* Marcos Fernandez Perez
* Matt Morehouse
* Mohamed Awnallah
* Olaoluwa Osuntokun
* Ononiwu Maureen Chiamaka
* Slyghtning
* Tee8z