mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
internal/ethapi: remove redundant check in test (#32760)
Removes a redundant check in TestCreateAccessListWithStateOverrides
This commit is contained in:
parent
c5a1c35cfb
commit
4b080208ea
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