aboutsummaryrefslogtreecommitdiff
path: root/src/script/descriptor.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/script/descriptor.cpp
parentdaef20fb50c00240ea4a5d653f3a47ee604d25c1 (diff)
downloadbitcoin-9a93c91c882265c908ea18496cd1bc271be914d4.tar.xz
Keep full pubkeys in FlatSigningProvider::origins
Diffstat (limited to 'src/script/descriptor.cpp')
-rw-r--r--src/script/descriptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp
index 43448d7222..a333d4d4ac 100644
--- a/src/script/descriptor.cpp
+++ b/src/script/descriptor.cpp
@@ -436,7 +436,7 @@ public:
pubkeys.reserve(entries.size());
for (auto& entry : entries) {
pubkeys.push_back(entry.first);
- out.origins.emplace(entry.first.GetID(), std::move(entry.second));
+ out.origins.emplace(entry.first.GetID(), std::make_pair<CPubKey, KeyOriginInfo>(CPubKey(entry.first), std::move(entry.second)));
}
if (m_script_arg) {
for (const auto& subscript : subscripts) {