diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2019-04-04 12:45:32 -0700 |
---|---|---|
committer | MeshCollider <dobsonsa68@gmail.com> | 2019-04-16 19:34:22 +1200 |
commit | 7fcbe7dc112b3d35a5066e6d181f286fb630f744 (patch) | |
tree | c4c33b4ec32fac6995ce3cb1a4159e7614a14118 /src/test | |
parent | 164082c822b0de0a66ff702397c1588a8dc3a257 (diff) | |
download | bitcoin-7fcbe7dc112b3d35a5066e6d181f286fb630f744.tar.xz |
Keep full pubkeys in FlatSigningProvider::origins
Github-Pull: #15749
Rebased-From: 9a93c91c882265c908ea18496cd1bc271be914d4
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/descriptor_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/descriptor_tests.cpp b/src/test/descriptor_tests.cpp index ff2b8d4fc9..826615cb51 100644 --- a/src/test/descriptor_tests.cpp +++ b/src/test/descriptor_tests.cpp @@ -154,8 +154,8 @@ void Check(const std::string& prv, const std::string& pub, int flags, const std: // Test whether the observed key path is present in the 'paths' variable (which contains expected, unobserved paths), // and then remove it from that set. for (const auto& origin : script_provider.origins) { - BOOST_CHECK_MESSAGE(paths.count(origin.second.path), "Unexpected key path: " + prv); - left_paths.erase(origin.second.path); + BOOST_CHECK_MESSAGE(paths.count(origin.second.second.path), "Unexpected key path: " + prv); + left_paths.erase(origin.second.second.path); } } } |