|
|
|
@ -121,7 +121,6 @@ public:
@@ -121,7 +121,6 @@ public:
|
|
|
|
|
BOOST_AUTO_TEST_CASE(base58_keys_valid_parse) |
|
|
|
|
{ |
|
|
|
|
UniValue tests = read_json(std::string(json_tests::base58_keys_valid, json_tests::base58_keys_valid + sizeof(json_tests::base58_keys_valid))); |
|
|
|
|
std::vector<unsigned char> result; |
|
|
|
|
CBitcoinSecret secret; |
|
|
|
|
CBitcoinAddress addr; |
|
|
|
|
SelectParams(CBaseChainParams::MAIN); |
|
|
|
@ -179,7 +178,6 @@ BOOST_AUTO_TEST_CASE(base58_keys_valid_parse)
@@ -179,7 +178,6 @@ BOOST_AUTO_TEST_CASE(base58_keys_valid_parse)
|
|
|
|
|
BOOST_AUTO_TEST_CASE(base58_keys_valid_gen) |
|
|
|
|
{ |
|
|
|
|
UniValue tests = read_json(std::string(json_tests::base58_keys_valid, json_tests::base58_keys_valid + sizeof(json_tests::base58_keys_valid))); |
|
|
|
|
std::vector<unsigned char> result; |
|
|
|
|
|
|
|
|
|
for (unsigned int idx = 0; idx < tests.size(); idx++) { |
|
|
|
|
UniValue test = tests[idx]; |
|
|
|
@ -247,7 +245,6 @@ BOOST_AUTO_TEST_CASE(base58_keys_valid_gen)
@@ -247,7 +245,6 @@ BOOST_AUTO_TEST_CASE(base58_keys_valid_gen)
|
|
|
|
|
BOOST_AUTO_TEST_CASE(base58_keys_invalid) |
|
|
|
|
{ |
|
|
|
|
UniValue tests = read_json(std::string(json_tests::base58_keys_invalid, json_tests::base58_keys_invalid + sizeof(json_tests::base58_keys_invalid))); // Negative testcases
|
|
|
|
|
std::vector<unsigned char> result; |
|
|
|
|
CBitcoinSecret secret; |
|
|
|
|
CBitcoinAddress addr; |
|
|
|
|
|
|
|
|
|