diff options
| author | MarcoFalke <[email protected]> | 2018-11-27 15:09:55 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-11-27 15:09:59 -0500 |
| commit | 0fa3703c17573a3cf05c73ef828f381234b456f7 (patch) | |
| tree | 514c612fe4fc87693d27ba73fcc1b14394c05c45 /src/test | |
| parent | Merge #14813: qa: Add wallet_encryption error tests (diff) | |
| parent | Fix descriptor_tests not checking ToString output of public descriptors (diff) | |
| download | discoin-0fa3703c17573a3cf05c73ef828f381234b456f7.tar.xz discoin-0fa3703c17573a3cf05c73ef828f381234b456f7.zip | |
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
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/descriptor_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/descriptor_tests.cpp b/src/test/descriptor_tests.cpp index 57e4b067c..e1ef61931 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); |