mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Merge pull request #337 from bhandras/macaroonpath_default
loop: add sane default for --lnd.macaroonpath
This commit is contained in:
commit
d389a93bd4
2 changed files with 6 additions and 0 deletions
|
|
@ -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",
|
||||
),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue