Merge 64f7a1940d into merged_master (Bitcoin PR bitcoin/bitcoin#25734)

This commit is contained in:
Byron Hambly 2024-11-02 17:58:55 +02:00
commit ee6cc528c6
13 changed files with 189 additions and 174 deletions

View file

@ -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());