Skip to content

Commit

Permalink
internal/ethapi: delete needless error check (#29127)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdever authored Mar 6, 2024
1 parent 66e1a6e commit 588c548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 588c548

Please sign in to comment.