From 591a2448676152560e0e917735d9a356aac07a86 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Thu, 11 Feb 2021 18:38:49 +0100 Subject: [PATCH 1/2] loop: add sane default for --lnd.macaroonpath --- loopd/config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/loopd/config.go b/loopd/config.go index 4b2ed38..dcfbdab 100644 --- a/loopd/config.go +++ b/loopd/config.go @@ -167,6 +167,11 @@ func DefaultConfig() Config { LoopOutMaxParts: defaultLoopOutMaxParts, Lnd: &lndConfig{ Host: "localhost:10009", + MacaroonPath: filepath.Join( + btcutil.AppDataDir("lnd", false), + "data", "chain", "bitcoin", DefaultNetwork, + "admin.macaroon", + ), }, } } From 55dd74c23385f7472fd22a459fcee68df4347044 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Thu, 11 Feb 2021 18:41:32 +0100 Subject: [PATCH 2/2] notes: update release_notes.md --- release_notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/release_notes.md b/release_notes.md index 9a87269..60e5c81 100644 --- a/release_notes.md +++ b/release_notes.md @@ -19,3 +19,4 @@ This file tracks release notes for the loop client. #### Breaking Changes #### Bug Fixes +* Default for `--lnd.macaroonpath` is set to the default path for the LND `admin.macaroon` (https://github.com/lightninglabs/loop/issues/336)