aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-11-27 15:09:55 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-11-27 15:09:59 -0500
commit0fa3703c17573a3cf05c73ef828f381234b456f7 (patch)
tree514c612fe4fc87693d27ba73fcc1b14394c05c45
parent8c119b27551f56db72bfbdb9ed632b4deb19e161 (diff)
parentc77f09230b442aca03f16741ddb3ea1540c7512b (diff)
downloadbitcoin-0fa3703c17573a3cf05c73ef828f381234b456f7.tar.xz
Merge #14820: test: Fix descriptor_tests not checking ToString output of public descriptors
c77f09230b Fix descriptor_tests not checking ToString output of public descriptors (Russell Yanofsky) Pull request description: This fixes a minor test bug introduced in #13697 that I noticed while reviewing #14646 Tree-SHA512: efed91200cdff5f86ba5de3461ac00759d285e2905f6cb24cea15d3e23e0581ce5fc14b24a40db093f7ebd662ee1ee2cf67f8798bac1903a78298eda08909cfb
-rw-r--r--src/test/descriptor_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/descriptor_tests.cpp b/src/test/descriptor_tests.cpp
index 57e4b067c0..e1ef619313 100644
--- a/src/test/descriptor_tests.cpp
+++ b/src/test/descriptor_tests.cpp
@@ -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.
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, pub2);