internal/ethapi: delete needless error check (#29127)
This commit is contained in:
parent
66e1a6ef49
commit
588c5480fd
@ -1244,7 +1244,7 @@ func TestFillBlobTransaction(t *testing.T) {
|
||||
if len(tc.err) > 0 {
|
||||
if err == nil {
|
||||
t.Fatalf("missing error. want: %s", tc.err)
|
||||
} else if err != nil && err.Error() != tc.err {
|
||||
} else if err.Error() != tc.err {
|
||||
t.Fatalf("error mismatch. want: %s, have: %s", tc.err, err.Error())
|
||||
}
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user