Skip to content

Commit d389a93

Browse files
authored
Merge pull request #337 from bhandras/macaroonpath_default
loop: add sane default for --lnd.macaroonpath
2 parents 7d5e1a9 + 55dd74c commit d389a93

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

loopd/config.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ func DefaultConfig() Config {
167167
LoopOutMaxParts: defaultLoopOutMaxParts,
168168
Lnd: &lndConfig{
169169
Host: "localhost:10009",
170+
MacaroonPath: filepath.Join(
171+
btcutil.AppDataDir("lnd", false),
172+
"data", "chain", "bitcoin", DefaultNetwork,
173+
"admin.macaroon",
174+
),
170175
},
171176
}
172177
}

release_notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ This file tracks release notes for the loop client.
1919
#### Breaking Changes
2020

2121
#### Bug Fixes
22+
* Default for `--lnd.macaroonpath` is set to the default path for the LND `admin.macaroon` (https://github.com/lightninglabs/loop/issues/336)

0 commit comments

Comments
 (0)