Commit 6bca8656 authored by frrist's avatar frrist Committed by Frrist

update go-merkledag too v0.2.4

parent a64e8633
......@@ -47,7 +47,7 @@ func WriteCar(ctx context.Context, ds format.DAGService, roots []cid.Cid, w io.W
seen := cid.NewSet()
for _, r := range roots {
if err := dag.EnumerateChildren(ctx, cw.enumGetLinks, r, seen.Visit); err != nil {
if err := dag.Walk(ctx, cw.enumGetLinks, r, seen.Visit); err != nil {
return err
}
}
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment