wallet: remove UNKNOWN type from OUTPUT_TYPES array

This array contains the known active output types only.
And it's solely used to create/walk-through the active spkms.
This commit is contained in:
furszy
2022-08-18 16:40:42 -03:00
parent a8f69541ad
commit 5b4fdbbff5
2 changed files with 0 additions and 2 deletions

View File

@@ -3433,7 +3433,6 @@ void CWallet::SetupDescriptorScriptPubKeyMans()
for (bool internal : {false, true}) {
for (OutputType t : OUTPUT_TYPES) {
if (t == OutputType::UNKNOWN) continue;
auto spk_manager = std::unique_ptr<DescriptorScriptPubKeyMan>(new DescriptorScriptPubKeyMan(*this));
if (IsCrypted()) {
if (IsLocked()) {