chore: further minor lint fixes

This commit is contained in:
Jakob Borg
2025-05-20 15:04:33 +02:00
parent 96b03fac04
commit 0a58747eb2
8 changed files with 25 additions and 17 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ func (p *standardBlockPullReorderer) Reorder(blocks []protocol.BlockInfo) []prot
// The rest of the chunks we fetch in a random order in whole chunks.
// Generate chunk index slice and shuffle it
indexes := make([]int, 0, len(chunks)-1)
for i := 0; i < len(chunks); i++ {
for i := range len(chunks) {
if i != p.myIndex {
indexes = append(indexes, i)
}