loop: add sane default for --lnd.macaroonpath

pull/337/head
Andras Banki-Horvath 3 years ago
parent 7d5e1a91c1
commit 591a244867
No known key found for this signature in database
GPG Key ID: 80E5375C094198D8

@ -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",
),
},
}
}

Loading…
Cancel
Save