We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c50c21 commit b4ac480Copy full SHA for b4ac480
src/script/descriptor.cpp
@@ -1709,7 +1709,7 @@ struct KeyParser {
1709
if (miniscript::IsTapscript(m_script_ctx) && end - begin == 32) {
1710
XOnlyPubKey pubkey;
1711
std::copy(begin, end, pubkey.begin());
1712
- if (auto pubkey_provider = InferPubkey(pubkey.GetEvenCorrespondingCPubKey(), ParseContext(), *m_in)) {
+ if (auto pubkey_provider = InferXOnlyPubkey(pubkey, ParseContext(), *m_in)) {
1713
m_keys.emplace_back();
1714
m_keys.back().push_back(std::move(pubkey_provider));
1715
return key;
0 commit comments