From ae78918521e63e60842b7cb91a03926ea089f05a Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 22 Mar 2016 12:14:40 -0500 Subject: [PATCH] bloom: Correct merkle block test error print. The test would have erroneously printed the function address instead of the received bytes if it failed. --- bloom/merkleblock_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bloom/merkleblock_test.go b/bloom/merkleblock_test.go index c7e5623..927f61f 100644 --- a/bloom/merkleblock_test.go +++ b/bloom/merkleblock_test.go @@ -67,7 +67,7 @@ func TestMerkleBlock3(t *testing.T) { if !bytes.Equal(want, got.Bytes()) { t.Errorf("TestMerkleBlock3 failed merkle block comparison: "+ - "got %v want %v", got.Bytes, want) + "got %v want %v", got.Bytes(), want) return } }