mirror of
https://github.com/lightninglabs/loop
synced 2024-11-09 19:10:47 +00:00
config: expand macaroonpath flag
This commit is contained in:
parent
456a29c523
commit
8c5bcf7c50
@ -163,6 +163,7 @@ func Validate(cfg *Config) error {
|
|||||||
cfg.LogDir = lncfg.CleanAndExpandPath(cfg.LogDir)
|
cfg.LogDir = lncfg.CleanAndExpandPath(cfg.LogDir)
|
||||||
cfg.TLSCertPath = lncfg.CleanAndExpandPath(cfg.TLSCertPath)
|
cfg.TLSCertPath = lncfg.CleanAndExpandPath(cfg.TLSCertPath)
|
||||||
cfg.TLSKeyPath = lncfg.CleanAndExpandPath(cfg.TLSKeyPath)
|
cfg.TLSKeyPath = lncfg.CleanAndExpandPath(cfg.TLSKeyPath)
|
||||||
|
cfg.MacaroonPath = lncfg.CleanAndExpandPath(cfg.MacaroonPath)
|
||||||
|
|
||||||
// Since our loop directory overrides our log/data dir values, make sure
|
// 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
|
// that they are not set when loop dir is set. We hard here rather than
|
||||||
|
Loading…
Reference in New Issue
Block a user