Create a tr() descriptor bech32m DescriptorScriptPubKeyMan by default

This commit is contained in:
Andrew Chow
2021-06-23 16:11:51 -04:00
parent 54b3699862
commit 8fb57845ee
13 changed files with 80 additions and 54 deletions

View File

@ -3164,11 +3164,6 @@ void CWallet::SetupDescriptorScriptPubKeyMans()
for (bool internal : {false, true}) {
for (OutputType t : OUTPUT_TYPES) {
if (t == OutputType::BECH32M) {
// Skip taproot (bech32m) for now
// TODO: Setup taproot (bech32m) descriptors by default
continue;
}
auto spk_manager = std::unique_ptr<DescriptorScriptPubKeyMan>(new DescriptorScriptPubKeyMan(*this));
if (IsCrypted()) {
if (IsLocked()) {