aboutsummaryrefslogtreecommitdiff
path: root/src/outputtype.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-08-18 16:40:42 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-08-18 16:47:15 -0300
commit5b4fdbbff527aef8288edb3bf21b478de1061221 (patch)
tree8309adf7fab20eef5587bbb740eb951eb1afa83d /src/outputtype.h
parenta8f69541ad53a76d5f69044ba829069d225a4af1 (diff)
downloadbitcoin-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/outputtype.h')
-rw-r--r--src/outputtype.h1
1 files changed, 0 insertions, 1 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);