diff --git a/core/types/bloom9_test.go b/core/types/bloom9_test.go index 58e8f707316f6e4337aa7b6230717a500cac646a..a28ac0e7afbaac7961e767044b0950122754f56c 100644 --- a/core/types/bloom9_test.go +++ b/core/types/bloom9_test.go @@ -39,12 +39,12 @@ func TestBloom(t *testing.T) { } for _, data := range positive { - if !bloom.Test(new(big.Int).SetBytes([]byte(data))) { + if !bloom.TestBytes([]byte(data)) { t.Error("expected", data, "to test true") } } for _, data := range negative { - if bloom.Test(new(big.Int).SetBytes([]byte(data))) { + if bloom.TestBytes([]byte(data)) { t.Error("did not expect", data, "to test true") } }