mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 13:36:37 +00:00
internal/ethapi: delete needless error check (#29127)
This commit is contained in:
parent
66e1a6ef49
commit
588c5480fd
1 changed files with 1 additions and 1 deletions
|
|
@ -1244,7 +1244,7 @@ func TestFillBlobTransaction(t *testing.T) {
|
||||||
if len(tc.err) > 0 {
|
if len(tc.err) > 0 {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatalf("missing error. want: %s", tc.err)
|
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())
|
t.Fatalf("error mismatch. want: %s, have: %s", tc.err, err.Error())
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue