core: fix failing tests (#22888)
This PR fixes two errors that regressed when EIP-1559 was merged.
This commit is contained in:
committed by
GitHub
parent
94451c2788
commit
67e7f61af7
@ -1357,8 +1357,8 @@ func TestEIP155Transition(t *testing.T) {
|
||||
}
|
||||
})
|
||||
_, err := blockchain.InsertChain(blocks)
|
||||
if err != types.ErrInvalidChainId {
|
||||
t.Error("expected error:", types.ErrInvalidChainId)
|
||||
if have, want := err, types.ErrInvalidChainId; !errors.Is(have, want) {
|
||||
t.Errorf("have %v, want %v", have, want)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user