Skip to content

Commit

Permalink
Merge pull request #337 from bhandras/macaroonpath_default
Browse files Browse the repository at this point in the history
loop: add sane default for --lnd.macaroonpath
  • Loading branch information
alexbosworth authored Feb 11, 2021
2 parents 7d5e1a9 + 55dd74c commit d389a93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions loopd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
),
},
}
}
Expand Down
1 change: 1 addition & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d389a93

Please sign in to comment.