提交 4795ff34 作者: Juan Batiz-Benet

Merge pull request #401 from zignig/namesys_fix

Validity time not checked properly
......@@ -119,7 +119,7 @@ func ValidateIpnsRecord(k u.Key, val []byte) error {
}
switch entry.GetValidityType() {
case pb.IpnsEntry_EOL:
t, err := u.ParseRFC3339(string(entry.GetValue()))
t, err := u.ParseRFC3339(string(entry.GetValidity()))
if err != nil {
log.Error("Failed parsing time for ipns record EOL")
return err
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论