From ac95472d3c1034667f78a37dfa3d7020cd3c9b82 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 31 Oct 2023 10:47:00 +0100 Subject: [PATCH] core: fix error message --- core/chain_makers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index 610412b2df..84148841f5 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -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