From 2ae5c9cef20c946df767167f8c82946ac131a057 Mon Sep 17 00:00:00 2001 From: ziggie Date: Wed, 25 May 2022 14:49:32 +0200 Subject: [PATCH 1/2] cmd/lncli: make hop hint inclusion opt-in for addholdinvoice --- cmd/lncli/invoicesrpc_active.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lncli/invoicesrpc_active.go b/cmd/lncli/invoicesrpc_active.go index ee03d8679..0b51e70f5 100644 --- a/cmd/lncli/invoicesrpc_active.go +++ b/cmd/lncli/invoicesrpc_active.go @@ -184,7 +184,7 @@ var addHoldInvoiceCommand = 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 " + From fce74db153249f87e3e3acef0d4e6faa4b4df4f7 Mon Sep 17 00:00:00 2001 From: ziggie Date: Wed, 25 May 2022 14:51:27 +0200 Subject: [PATCH 2/2] docs: update release note --- docs/release-notes/release-notes-0.15.0.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/release-notes/release-notes-0.15.0.md b/docs/release-notes/release-notes-0.15.0.md index cae2f7f8c..b4e8f3e1f 100644 --- a/docs/release-notes/release-notes-0.15.0.md +++ b/docs/release-notes/release-notes-0.15.0.md @@ -72,6 +72,10 @@ releases. Backward compatibility is not guaranteed! caveats/restrictions to be added to an existing macaroon (instead of needing to bake a new one). +* [Hop hints are now opt in when using `lncli + addholdinvoice`](https://github.com/lightningnetwork/lnd/pull/6577). Users now + need to explicitly specify the `--private` flag. + ## Neutrino [Neutrino now suports BIP @@ -441,3 +445,4 @@ gRPC performance metrics (latency to process `GetInfo`, etc)](https://github.com * Torkel Rogstad * Vsevolod Kaganovych * Yong Yu +* Ziggie \ No newline at end of file