Skip to content
Prev Previous commit
Next Next commit
satisfy linter
  • Loading branch information
guillaumemichel committed Aug 5, 2025
commit e0ece0ab67f85c4af15fc1029f9fc3f05d22d1eb
6 changes: 6 additions & 0 deletions provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ type SweepingProvider struct {
addLocalRecord func(mh.Multihash) error
}

// FIXME: remove me
func (s *SweepingProvider) SatisfyLinter() {
s.vanillaProvide([]byte{})
s.closestPeersToKey("")
}

// vanillaProvide provides a single key to the network without any
// optimization. It should be used for providing a small number of keys
// (typically 1 or 2), because exploring the keyspace would add too much
Expand Down
Loading