Commit 79866d33 authored by Brian Tiger Chow's avatar 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
parent 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 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