Skip to content

Commit

Permalink
Re-enable async children enumerating in FetchGraph
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Iaroslav Gridin <voker57@gmail.com>
  • Loading branch information
Voker57 committed Jan 19, 2017
1 parent fceaa44 commit 71da359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merkledag/merkledag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 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,
Expand Down

0 comments on commit 71da359

Please sign in to comment.