internal/ethapi: remove redundant check in test (#32760)

Removes a redundant check in TestCreateAccessListWithStateOverrides
This commit is contained in:
GarmashAlex 2025-09-29 13:31:00 +03:00 committed by GitHub
parent c5a1c35cfb
commit 4b080208ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3746,8 +3746,8 @@ func TestCreateAccessListWithStateOverrides(t *testing.T) {
if err != nil {
t.Fatalf("Failed to create access list: %v", err)
}
if err != nil || result == nil {
t.Fatalf("Failed to create access list: %v", err)
if result == nil {
t.Fatalf("Failed to create access list: result is nil")
}
require.NotNil(t, result.Accesslist)