aboutsummaryrefslogtreecommitdiff
path: root/src/test/descriptor_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2019-04-04 12:45:32 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2019-04-04 12:45:32 -0700
commit9a93c91c882265c908ea18496cd1bc271be914d4 (patch)
tree951170f401410645ef47f18a58d6e2a68b766935 /src/test/descriptor_tests.cpp
parentdaef20fb50c00240ea4a5d653f3a47ee604d25c1 (diff)
downloadbitcoin-9a93c91c882265c908ea18496cd1bc271be914d4.tar.xz
Keep full pubkeys in FlatSigningProvider::origins
Diffstat (limited to 'src/test/descriptor_tests.cpp')
-rw-r--r--src/test/descriptor_tests.cpp4
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);
}
}
}