Skip to content

Commit a63b4c2

Browse files
committed
Re-enable async children enumerating in FetchGraph
License: MIT Signed-off-by: Iaroslav Gridin <[email protected]>
1 parent 0cae239 commit a63b4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

merkledag/merkledag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (n *dagService) Remove(nd node.Node) error {
140140

141141
// FetchGraph fetches all nodes that are children of the given node
142142
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)
144144
}
145145

146146
// FindLinks searches this nodes links for the given key,

0 commit comments

Comments
 (0)