Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel committed Jan 31, 2025
1 parent 3642ac8 commit ee671ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (sim *SessionInterestManager) FilterInterests(keySets ...[]cid.Cid) [][]cid

result := keySets[:0]
// For each set of keys
for i, ks := range keySets {
for _, ks := range keySets {
// The set of keys that at least one session is interested in
wanted := ks[:0]

Expand All @@ -194,7 +194,7 @@ func (sim *SessionInterestManager) FilterInterests(keySets ...[]cid.Cid) [][]cid
wanted = append(wanted, c)
}
}
result = appent(result, wanted)
result = append(result, wanted)
}
return result
}

0 comments on commit ee671ff

Please sign in to comment.