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:
parent
44e3030885
commit
ae78918521
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue