fix lint issue

This commit is contained in:
Sina Mahmoodi 2024-01-22 16:10:13 +03:30
parent 04556db2b5
commit 8cba845276

View file

@ -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)
}
})