fix block interval

pull/1/head
Jan Pochyla 2017-10-07 10:42:31 +02:00
parent c2761de9ed
commit d7a159a837
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ func connectBlocksParallel(
offset := uint32(chunkSize * i)
stride := uint32(chunkSize * numWorkers)
for low := offset; low <= higher; low += stride {
for low := lower + offset; low <= higher; low += stride {
high := low + uint32(chunkSize-1)
if high > higher {
high = higher