Commit e7dee529 authored by Jeromy's avatar Jeromy

wire GetBlocks into blockservice

parent 24f8c938
......@@ -328,7 +328,7 @@ func (ds *dagService) BatchFetch(ctx context.Context, root *Node) <-chan *Node {
if next == i {
sig <- nd
next++
for ; nodes[next] != nil; next++ {
for ; next < len(nodes) && nodes[next] != nil; next++ {
sig <- nodes[next]
}
}
......
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