Create a tr() descriptor bech32m DescriptorScriptPubKeyMan by default

This commit is contained in:
Andrew Chow committed 2021-11-16 12:20:13 -05:00
1 parent 54b3699862
commit 8fb57845ee
13 files changed
+80 -54

No files matched your search

-3
View File
@@ -68,9 +68,6 @@ struct FuzzedWallet {
CScript GetScriptPubKey(FuzzedDataProvider& fuzzed_data_provider)
{
auto type{fuzzed_data_provider.PickValueInArray(OUTPUT_TYPES)};
if (type == OutputType::BECH32M) {
type = OutputType::BECH32; // TODO: Setup taproot descriptor and remove this line
}
CTxDestination dest;
bilingual_str error;
if (fuzzed_data_provider.ConsumeBool()) {