Commit 1e14bec0 authored by Jeromy's avatar Jeromy

some bitswap cleanup

parent aa935e76
......@@ -40,7 +40,7 @@ func NewDagReader(n *mdag.Node, serv mdag.DAGService) (io.Reader, error) {
case ftpb.Data_File:
var fetchChan <-chan *mdag.Node
if serv != nil {
fetchChan = serv.BatchFetch(context.TODO(), n)
fetchChan = serv.GetKeysAsync(context.TODO(), n)
}
return &DagReader{
node: n,
......
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