Skip to content

Commit 8c5bcf7

Browse files
committed
config: expand macaroonpath flag
1 parent 456a29c commit 8c5bcf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

loopd/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ func Validate(cfg *Config) error {
163163
cfg.LogDir = lncfg.CleanAndExpandPath(cfg.LogDir)
164164
cfg.TLSCertPath = lncfg.CleanAndExpandPath(cfg.TLSCertPath)
165165
cfg.TLSKeyPath = lncfg.CleanAndExpandPath(cfg.TLSKeyPath)
166+
cfg.MacaroonPath = lncfg.CleanAndExpandPath(cfg.MacaroonPath)
166167

167168
// Since our loop directory overrides our log/data dir values, make sure
168169
// that they are not set when loop dir is set. We hard here rather than

0 commit comments

Comments
 (0)