Commit f0def595 authored by Jeromy's avatar Jeromy

make pinning use serial graph enumeration

License: MIT
Signed-off-by: default avatarJeromy <why@ipfs.io>
parent 9eb769d7
......@@ -140,7 +140,7 @@ func (n *dagService) Remove(nd node.Node) error {
// FetchGraph fetches all nodes that are children of the given node
func FetchGraph(ctx context.Context, c *cid.Cid, serv DAGService) error {
return EnumerateChildrenAsync(ctx, serv, c, cid.NewSet().Visit)
return EnumerateChildren(ctx, serv, c, cid.NewSet().Visit, false)
}
// FindLinks searches this nodes links for the given key,
......
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