Re-enable async children enumerating in FetchGraph
License: MIT Signed-off-by: Iaroslav Gridin <voker57@gmail.com>
Iaroslav Gridin committed
Jan 19, 2017 at 13:51 UTC
6618932545f14c1519d05aca1697312f04f3ce6e
1 file changed
+1
-1
merkledag/merkledag.go
+1
-1
@@ -140,7 +140,7 @@ func (n *dagService) Remove(nd node.Node) error {
140
141
// FetchGraph fetches all nodes that are children of the given node
142
func FetchGraph(ctx context.Context, c *cid.Cid, serv DAGService) error {
143
- return EnumerateChildren(ctx, serv, c, cid.NewSet().Visit, false)
143
+ return EnumerateChildrenAsync(ctx, serv, c, cid.NewSet().Visit)
144
}
145
146
// FindLinks searches this nodes links for the given key,