core: fix error message

This commit is contained in:
Felix Lange 2023-10-31 10:47:00 +01:00
parent 05b0941a0d
commit ac95472d3c

View file

@ -149,7 +149,7 @@ func TestGeneratePOSChain(t *testing.T) {
t.Errorf("receipt has wrong block number %d, want %d", r.BlockNumber, block.Number())
}
if r.BlockHash != block.Hash() {
t.Errorf("receipt has wrong block hash %v, want %v", r.BlockNumber, block.Hash())
t.Errorf("receipt has wrong block hash %v, want %v", r.BlockHash, block.Hash())
}
// patch up empty logs list to make DeepEqual below work