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

Fixes #6484.
This commit is contained in:
Olaoluwa Osuntokun committed 2022-05-10 17:56:57 -07:00
1 parent ddeccf8fcc
commit 5e4d349ea6
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ var addInvoiceCommand = cli.Command{
"specified an expiry of 3600 seconds (1 hour) " +
"is implied.",
},
cli.BoolTFlag{
cli.BoolFlag{
Name: "private",
Usage: "encode routing hints in the invoice with " +
"private channels in order to assist the " +
@@ -54,6 +54,10 @@ releases. Backward compatibility is not guaranteed!
* Add [--socksproxy](https://github.com/lightningnetwork/lnd/pull/6422)
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 now suports BIP