提交 79866d33 作者: Brian Tiger Chow

hotfix(core) assign node.Resolver = path.Resolver

discovered by @mappum and applied at https://github.com/jbenet/go-ipfs/commit/414e20b71e50b65e40883f3ac85f91aa81c1e486

fixing here to address #233

https://github.com/jbenet/go-ipfs/issues/233
上级 3a0bbe2a
......@@ -161,7 +161,8 @@ func NewIpfsNode(cfg *config.Config, online bool) (n *IpfsNode, err error) {
if err != nil {
n.Pinning = pin.NewPinner(n.Datastore, n.DAG)
}
n.Resolver = &path.Resolver{DAG: n.DAG}
success = true
return n, nil
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论