Merge pull request #337 from bhandras/macaroonpath_default

loop: add sane default for --lnd.macaroonpath
pull/338/head
Alex Bosworth 3 years ago committed by GitHub
commit d389a93bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save