Skip to content

Commit

Permalink
metrics: use min from go1.21 (ethereum#29307)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Dec 13, 2024
1 parent 7f37ee2 commit fd8782b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions metrics/sample_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ func BenchmarkUniformSample1028(b *testing.B) {
benchmarkSample(b, NewUniformSample(1028))
}

func min(a, b int) int {
if a < b {
return a
}
return b
}

func TestExpDecaySample(t *testing.T) {
for _, tc := range []struct {
reservoirSize int
Expand Down

0 comments on commit fd8782b

Please sign in to comment.