make pinning use serial graph enumeration
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
Jeromy committed
Jan 11, 2017 at 04:42 UTC
eac1fa2a3f319899f8e02b177f3acb74571634ee
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 EnumerateChildrenAsync(ctx, serv, c, cid.NewSet().Visit)
143
+ return EnumerateChildren(ctx, serv, c, cid.NewSet().Visit, false)
144
}
145
146
// FindLinks searches this nodes links for the given key,