bloom: Correct merkle block test error print.

The test would have erroneously printed the function address instead of
the received bytes if it failed.
This commit is contained in:
Dave Collins 2016-03-22 12:14:40 -05:00
parent 44e3030885
commit ae78918521

View file

@ -67,7 +67,7 @@ func TestMerkleBlock3(t *testing.T) {
if !bytes.Equal(want, got.Bytes()) { if !bytes.Equal(want, got.Bytes()) {
t.Errorf("TestMerkleBlock3 failed merkle block comparison: "+ t.Errorf("TestMerkleBlock3 failed merkle block comparison: "+
"got %v want %v", got.Bytes, want) "got %v want %v", got.Bytes(), want)
return return
} }
} }