From 7fcbe7dc112b3d35a5066e6d181f286fb630f744 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Thu, 4 Apr 2019 12:45:32 -0700 Subject: Keep full pubkeys in FlatSigningProvider::origins Github-Pull: #15749 Rebased-From: 9a93c91c882265c908ea18496cd1bc271be914d4 --- src/test/descriptor_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') 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); } } } -- cgit v1.2.3