Unverified Commit caf819ce authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #5648 from overbool/fix/ipns-config-panic

fix(core): ipns config RecordLifetime panic
parents 00a4b38f 74e1aaf1
......@@ -599,7 +599,7 @@ func (n *IpfsNode) setupIpnsRepublisher() error {
}
if cfg.Ipns.RecordLifetime != "" {
d, err := time.ParseDuration(cfg.Ipns.RepublishPeriod)
d, err := time.ParseDuration(cfg.Ipns.RecordLifetime)
if err != nil {
return fmt.Errorf("failure to parse config setting IPNS.RecordLifetime: %s", err)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment