Skip to content

Commit

Permalink
hotfix(core) assign node.Resolver = path.Resolver
Browse files Browse the repository at this point in the history
discovered by @mappum and applied at 414e20b

fixing here to address #233

#233
  • Loading branch information
Brian Tiger Chow committed Oct 29, 2014
1 parent 3a0bbe2 commit 79866d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 79866d3

Please sign in to comment.