cmd/lncli: make hop hint inclusion opt-in for addinvoice

Fixes #6484.
This commit is contained in:
Olaoluwa Osuntokun
2022-05-10 17:54:02 -07:00
parent ddeccf8fcc
commit 5e4d349ea6
2 changed files with 5 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ var addInvoiceCommand = cli.Command{
"specified an expiry of 3600 seconds (1 hour) " + "specified an expiry of 3600 seconds (1 hour) " +
"is implied.", "is implied.",
}, },
cli.BoolTFlag{ cli.BoolFlag{
Name: "private", Name: "private",
Usage: "encode routing hints in the invoice with " + Usage: "encode routing hints in the invoice with " +
"private channels in order to assist the " + "private channels in order to assist the " +

View File

@@ -54,6 +54,10 @@ releases. Backward compatibility is not guaranteed!
* Add [--socksproxy](https://github.com/lightningnetwork/lnd/pull/6422) * Add [--socksproxy](https://github.com/lightningnetwork/lnd/pull/6422)
to allow for RPC calls via Tor. to allow for RPC calls via Tor.
* [Hop hints are now opt in when using `lncli
addinvoice`]https://github.com/lightningnetwork/lnd/pull/6523). Users now
need to explicitly specify the `--private` flag.
## Neutrino ## Neutrino
[Neutrino now suports BIP [Neutrino now suports BIP