From 8c5bcf7c50ed85ab3426ffbf7b031b71cb32eb75 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Thu, 17 Sep 2020 10:45:57 +0200 Subject: [PATCH] config: expand macaroonpath flag --- loopd/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/loopd/config.go b/loopd/config.go index 2e711af..4237bbf 100644 --- a/loopd/config.go +++ b/loopd/config.go @@ -163,6 +163,7 @@ func Validate(cfg *Config) error { cfg.LogDir = lncfg.CleanAndExpandPath(cfg.LogDir) cfg.TLSCertPath = lncfg.CleanAndExpandPath(cfg.TLSCertPath) cfg.TLSKeyPath = lncfg.CleanAndExpandPath(cfg.TLSKeyPath) + cfg.MacaroonPath = lncfg.CleanAndExpandPath(cfg.MacaroonPath) // Since our loop directory overrides our log/data dir values, make sure // that they are not set when loop dir is set. We hard here rather than