diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-17 14:10:02 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-21 07:46:34 +0200 |
commit | 8f3f94a470cdc7195efdbafd45ea03e6c707d9c8 (patch) | |
tree | 848534bd7e65b1c81e2893e9957c1254090582c1 /src/test | |
parent | 98e84aae7ad1e4e18d2292f1ddeeb517432b4c42 (diff) |
Revert "CBloomFilter::clear() method"
This reverts commit 8fbf03995df9a2003be603be1a930bc3373d56e0.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/bloom_tests.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/bloom_tests.cpp b/src/test/bloom_tests.cpp index 2cdafa4bdd..69de3b5bb1 100644 --- a/src/test/bloom_tests.cpp +++ b/src/test/bloom_tests.cpp @@ -45,10 +45,6 @@ BOOST_AUTO_TEST_CASE(bloom_create_insert_serialize) expected[i] = (char)vch[i]; BOOST_CHECK_EQUAL_COLLECTIONS(stream.begin(), stream.end(), expected.begin(), expected.end()); - - BOOST_CHECK_MESSAGE( filter.contains(ParseHex("99108ad8ed9bb6274d3980bab5a85c048f0950c8")), "BloomFilter doesn't contain just-inserted object!"); - filter.clear(); - BOOST_CHECK_MESSAGE( !filter.contains(ParseHex("99108ad8ed9bb6274d3980bab5a85c048f0950c8")), "BloomFilter should be empty!"); } BOOST_AUTO_TEST_CASE(bloom_create_insert_serialize_with_tweak) |