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) " +
"is implied.",
},
cli.BoolTFlag{
cli.BoolFlag{
Name: "private",
Usage: "encode routing hints in the invoice with " +
"private channels in order to assist the " +