Update hexutil_test.go

This commit is contained in:
Coder 2025-10-18 13:46:18 +02:00 committed by GitHub
parent bd31f767cb
commit c6d750dafc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -207,7 +207,7 @@ func BenchmarkEncodeBig(b *testing.B) {
b.Run(bench.want, func(b *testing.B) { b.Run(bench.want, func(b *testing.B) {
b.ReportAllocs() b.ReportAllocs()
bigint := bench.input.(*big.Int) bigint := bench.input.(*big.Int)
for i := 0; i < b.N; i++ { for range b.Loop() {
EncodeBig(bigint) EncodeBig(bigint)
} }
}) })