Skip to content

Commit 856ed57

Browse files
authored
Merge pull request ipfs/go-unixfs#74 from ipfs/fix/enumerate-children
fix: enumerate children This commit was moved from ipfs/go-unixfs@06cb1c7
2 parents 4e3f0cb + f6a0a9f commit 856ed57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unixfs/ipld-merkledag/hamt/hamt.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func (ds *Shard) EnumLinksAsync(ctx context.Context) <-chan format.LinkResult {
339339
defer cancel()
340340
getLinks := makeAsyncTrieGetLinks(ds.dserv, linkResults)
341341
cset := cid.NewSet()
342-
err := dag.EnumerateChildrenAsync(ctx, getLinks, ds.cid, cset.Visit)
342+
err := dag.WalkParallel(ctx, getLinks, ds.cid, cset.Visit)
343343
if err != nil {
344344
emitResult(ctx, linkResults, format.LinkResult{Link: nil, Err: err})
345345
}

0 commit comments

Comments
 (0)