From 8cba8452762c81fc92e13d118327d3fd885384af Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Mon, 22 Jan 2024 16:10:13 +0330 Subject: [PATCH] fix lint issue --- internal/ethapi/api_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api_test.go b/internal/ethapi/api_test.go index 8db3bd2101..8f3b96856a 100644 --- a/internal/ethapi/api_test.go +++ b/internal/ethapi/api_test.go @@ -1287,7 +1287,7 @@ func TestFillBlobTransaction(t *testing.T) { if err != nil { t.Fatalf("failed to encode computed sidecar: %v", err) } - if bytes.Compare(have, want) != 0 { + if !bytes.Equal(have, want) { t.Errorf("blob sidecar mismatch. Have: %s, want: %s", have, want) } })