mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 64f7a1940d into merged_master (Bitcoin PR bitcoin/bitcoin#25734)
This commit is contained in:
commit
ee6cc528c6
13 changed files with 189 additions and 174 deletions
|
|
@ -1970,6 +1970,11 @@ bool DescriptorScriptPubKeyMan::SetupDescriptorGeneration(const CExtKey& master_
|
|||
desc_prefix = "tr(" + xpub + "/86'";
|
||||
break;
|
||||
}
|
||||
case OutputType::UNKNOWN: {
|
||||
// We should never have a DescriptorScriptPubKeyMan for an UNKNOWN OutputType,
|
||||
// so if we get to this point something is wrong
|
||||
assert(false);
|
||||
}
|
||||
} // no default case, so the compiler can warn about missing cases
|
||||
assert(!desc_prefix.empty());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue