Update loopd/config.go

Co-authored-by: George Tsagkarelis <34623190+GeorgeTsagk@users.noreply.github.com>
pull/614/head
Guillermo Caracuel 9 months ago committed by GitHub
parent 123d531c8b
commit 7b31f1f64d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -352,7 +352,7 @@ func Validate(cfg *Config) error {
return fmt.Errorf("max payment retries must be at least 1")
}
// TLS Valisity period to be at least 24 hours
// TLS Validity period to be at least 24 hours
if cfg.TLSValidity < time.Hour*24 {
return fmt.Errorf("TLS certificate minimum validity period is 24h")
}

Loading…
Cancel
Save