From c6d750dafcd76fe69438ed748f20dd8e1be54802 Mon Sep 17 00:00:00 2001 From: Coder <161350311+MamunC0der@users.noreply.github.com> Date: Sat, 18 Oct 2025 13:46:18 +0200 Subject: [PATCH] Update hexutil_test.go --- common/hexutil/hexutil_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hexutil/hexutil_test.go b/common/hexutil/hexutil_test.go index f2b800d82c..814eac896a 100644 --- a/common/hexutil/hexutil_test.go +++ b/common/hexutil/hexutil_test.go @@ -207,7 +207,7 @@ func BenchmarkEncodeBig(b *testing.B) { b.Run(bench.want, func(b *testing.B) { b.ReportAllocs() bigint := bench.input.(*big.Int) - for i := 0; i < b.N; i++ { + for range b.Loop() { EncodeBig(bigint) } })