Skip to content

Commit e50c228

Browse files
authored
Merge pull request #520 from ellemouton/fixDBDir
terminal: fix macaroon DB directory
2 parents f52b046 + 4d43068 commit e50c228

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

terminal.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,8 @@ func (g *LightningTerminal) startSubservers() error {
675675

676676
// Set up the macaroon service.
677677
rks, db, err := lndclient.NewBoltMacaroonStore(
678-
g.cfg.LitDir, lncfg.MacaroonDBName, macDatabaseOpenTimeout,
678+
filepath.Join(g.cfg.LitDir, g.cfg.Network),
679+
lncfg.MacaroonDBName, macDatabaseOpenTimeout,
679680
)
680681
if err != nil {
681682
return err

0 commit comments

Comments
 (0)