mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
Fix descriptor_tests not checking ToString output of public descriptors
This commit is contained in:
@@ -62,7 +62,7 @@ void Check(const std::string& prv, const std::string& pub, int flags, const std:
|
|||||||
|
|
||||||
// Check that both versions serialize back to the public version.
|
// Check that both versions serialize back to the public version.
|
||||||
std::string pub1 = parse_priv->ToString();
|
std::string pub1 = parse_priv->ToString();
|
||||||
std::string pub2 = parse_priv->ToString();
|
std::string pub2 = parse_pub->ToString();
|
||||||
BOOST_CHECK_EQUAL(pub, pub1);
|
BOOST_CHECK_EQUAL(pub, pub1);
|
||||||
BOOST_CHECK_EQUAL(pub, pub2);
|
BOOST_CHECK_EQUAL(pub, pub2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user