Commit 03782baf authored by Iaroslav Gridin's avatar Iaroslav Gridin

Re-enable async children enumerating in FetchGraph

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