diff --git a/merkledag/merkledag.go b/merkledag/merkledag.go index f6bc8f9f50e..faff47796c6 100644 --- a/merkledag/merkledag.go +++ b/merkledag/merkledag.go @@ -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,