@cryptotaxi247 / kubo / commits / e227fc386

coreapi: fix ipns path resolving

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>

Łukasz Magiera committed Apr 24, 2018 at 15:20 UTC e227fc38659a62a09455ac752bb89c2327df1873
1 file changed +1 -1
core/coreapi/path.go
+1 -1
@@ -89,7 +89,7 @@ func resolvePath(ctx context.Context, ng ipld.NodeGetter, nsys namesys.NameSyste
89
90 var resolveOnce resolver.ResolveOnce
91
92 - switch p.Namespace() {
92 + switch ipath.Segments()[0] {
93 case "ipfs":
94 resolveOnce = uio.ResolveUnixfsOnce
95 case "ipld":