diff options
| author | Pieter Wuille <[email protected]> | 2019-04-04 12:45:32 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2019-04-04 12:45:32 -0700 |
| commit | 9a93c91c882265c908ea18496cd1bc271be914d4 (patch) | |
| tree | 951170f401410645ef47f18a58d6e2a68b766935 /src/script/descriptor.cpp | |
| parent | Merge #15596: rpc: Ignore sendmany::minconf as dummy value (diff) | |
| download | discoin-9a93c91c882265c908ea18496cd1bc271be914d4.tar.xz discoin-9a93c91c882265c908ea18496cd1bc271be914d4.zip | |
Keep full pubkeys in FlatSigningProvider::origins
Diffstat (limited to 'src/script/descriptor.cpp')
| -rw-r--r-- | src/script/descriptor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index 43448d722..a333d4d4a 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) { |