diff options
| author | Russell Yanofsky <[email protected]> | 2018-11-27 14:44:23 -0500 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2018-11-27 14:44:23 -0500 |
| commit | c77f09230b442aca03f16741ddb3ea1540c7512b (patch) | |
| tree | 947fa70c4efc962b379ff6e1d25787b17d5f0f33 /src/test/descriptor_tests.cpp | |
| parent | Merge #14808: doc: clarify RPC rawtransaction documentation (diff) | |
| download | discoin-c77f09230b442aca03f16741ddb3ea1540c7512b.tar.xz discoin-c77f09230b442aca03f16741ddb3ea1540c7512b.zip | |
Fix descriptor_tests not checking ToString output of public descriptors
Diffstat (limited to 'src/test/descriptor_tests.cpp')
| -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); |