fix block interval
This commit is contained in:
parent
c2761de9ed
commit
d7a159a837
@ -215,7 +215,7 @@ func connectBlocksParallel(
|
|||||||
offset := uint32(chunkSize * i)
|
offset := uint32(chunkSize * i)
|
||||||
stride := uint32(chunkSize * numWorkers)
|
stride := uint32(chunkSize * numWorkers)
|
||||||
|
|
||||||
for low := offset; low <= higher; low += stride {
|
for low := lower + offset; low <= higher; low += stride {
|
||||||
high := low + uint32(chunkSize-1)
|
high := low + uint32(chunkSize-1)
|
||||||
if high > higher {
|
if high > higher {
|
||||||
high = higher
|
high = higher
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user