Commit a10873d9 authored by David Vorick's avatar David Vorick

fix offset calculation to use chunk index

parent 76a52502
Pipeline #47473553 failed with stages
in 22 minutes and 18 seconds
......@@ -166,7 +166,7 @@ func (r *Renter) buildUnfinishedChunks(entrys []*siafile.SiaFileSetEntry, hosts
index: uint64(index),
length: entrys[i].ChunkSize(),
offset: int64(uint64(i) * entrys[i].ChunkSize()),
offset: int64(uint64(index) * entrys[i].ChunkSize()),
// memoryNeeded has to also include the logical data, and also
// include the overhead for encryption.
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