diff options
Diffstat (limited to 'core/utils.go')
-rw-r--r-- | core/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils.go b/core/utils.go index 59aa7a4..7aa99f0 100644 --- a/core/utils.go +++ b/core/utils.go @@ -92,7 +92,7 @@ func getMedianTime(timestamps []time.Time) (t time.Time, err error) { return } -func removeFromSortedIntSlice(xs []int, x int) []int { +func removeFromSortedUint32Slice(xs []uint32, x uint32) []uint32 { indexToRemove := sort.Search(len(xs), func(idx int) bool { return xs[idx] >= x }) |