mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-18 22:20:44 +02:00
Fix descriptor_tests not checking ToString output of public descriptors
This commit is contained in:
parent
b5c3d7affc
commit
c77f09230b
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user