aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/outputtype.h1
-rw-r--r--src/wallet/wallet.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/outputtype.h b/src/outputtype.h
index be5fd62b80..c59262591b 100644
--- a/src/outputtype.h
+++ b/src/outputtype.h
@@ -27,7 +27,6 @@ static constexpr auto OUTPUT_TYPES = std::array{
OutputType::P2SH_SEGWIT,
OutputType::BECH32,
OutputType::BECH32M,
- OutputType::UNKNOWN,
};
std::optional<OutputType> ParseOutputType(const std::string& str);
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()) {