mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-07 07:28:40 +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 {
|
if err != nil {
|
||||||
t.Fatalf("Failed to create access list: %v", err)
|
t.Fatalf("Failed to create access list: %v", err)
|
||||||
}
|
}
|
||||||
if err != nil || result == nil {
|
if result == nil {
|
||||||
t.Fatalf("Failed to create access list: %v", err)
|
t.Fatalf("Failed to create access list: result is nil")
|
||||||
}
|
}
|
||||||
require.NotNil(t, result.Accesslist)
|
require.NotNil(t, result.Accesslist)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue