mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
internal/ethapi: remove redundant error check in TestCreateAccessListWithStateOverrides
This commit is contained in:
parent
c984d9086e
commit
68c2e570db
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue