Skip to content

Commit 4b08020

Browse files
authored
internal/ethapi: remove redundant check in test (#32760)
Removes a redundant check in TestCreateAccessListWithStateOverrides
1 parent c5a1c35 commit 4b08020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/ethapi/api_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3746,8 +3746,8 @@ func TestCreateAccessListWithStateOverrides(t *testing.T) {
37463746
if err != nil {
37473747
t.Fatalf("Failed to create access list: %v", err)
37483748
}
3749-
if err != nil || result == nil {
3750-
t.Fatalf("Failed to create access list: %v", err)
3749+
if result == nil {
3750+
t.Fatalf("Failed to create access list: result is nil")
37513751
}
37523752
require.NotNil(t, result.Accesslist)
37533753

0 commit comments

Comments
 (0)