diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-08-18 16:40:42 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-08-18 16:47:15 -0300 |
commit | 5b4fdbbff527aef8288edb3bf21b478de1061221 (patch) | |
tree | 8309adf7fab20eef5587bbb740eb951eb1afa83d /src/wallet/wallet.cpp | |
parent | a8f69541ad53a76d5f69044ba829069d225a4af1 (diff) | |
download | bitcoin-5b4fdbbff527aef8288edb3bf21b478de1061221.tar.xz |
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.
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index d598425326..553adcc3a2 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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()) { |