Browse Source

config: expand macaroonpath flag

pull/297/head
Oliver Gugger 4 months ago
parent
commit
8c5bcf7c50
No known key found for this signature in database GPG Key ID: 8E4256593F177720
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      loopd/config.go

+ 1
- 0
loopd/config.go View File

@ -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

Loading…
Cancel
Save