mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
Fixes for bloom filter tests
This commit is contained in:
parent
b26c6ab2a5
commit
2a2d748850
@ -10,7 +10,7 @@
|
||||
using namespace std;
|
||||
using namespace boost::tuples;
|
||||
|
||||
/*BOOST_AUTO_TEST_SUITE(bloom_tests)
|
||||
BOOST_AUTO_TEST_SUITE(bloom_tests)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(bloom_create_insert_serialize)
|
||||
{
|
||||
@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(bloom_create_insert_serialize_with_tweak)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(bloom_create_insert_key)
|
||||
{
|
||||
string strSecret = string("6v7hgtX6r7frdh7XDRJ3L4JRLMAn9chCgNgSccwqWdp69XfPdX6");
|
||||
string strSecret = string("7rBekcWBb6kBahTaUnsZi1PGmz7uRhNnPjURTPoi5LjUreTuie5");
|
||||
CBitcoinSecret vchSecret;
|
||||
BOOST_CHECK(vchSecret.SetString(strSecret));
|
||||
|
||||
@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE(bloom_create_insert_key)
|
||||
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
|
||||
filter.Serialize(stream, SER_NETWORK, PROTOCOL_VERSION);
|
||||
|
||||
vector<unsigned char> vch = ParseHex("0322ed23080000000000000001");
|
||||
vector<unsigned char> vch = ParseHex("030a3cd2080000000000000001");
|
||||
vector<char> expected(vch.size());
|
||||
|
||||
for (unsigned int i = 0; i < vch.size(); i++)
|
||||
@ -444,4 +444,3 @@ BOOST_AUTO_TEST_CASE(merkle_block_4_test_update_none)
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
*/
|
Loading…
Reference in New Issue
Block a user