depot/patches/base/ipfs/ipfs-void-tld.patch

13 lines
346 B
Diff
Raw Normal View History

2021-06-05 23:59:06 +03:00
diff --git a/namesys/namesys.go b/namesys/namesys.go
index 760d04c17..4f3de146d 100644
--- a/namesys/namesys.go
+++ b/namesys/namesys.go
@@ -236,3 +236,7 @@ func (ns *mpns) PublishWithEOL(ctx context.Context, name ci.PrivKey, value path.
ns.cacheSet(string(id), value, ttl)
return nil
}
+
+func init() {
+ isd.ExtendedTLDs["VOID"] = true
+}