diff options
author | Pttn <28868425+Pttn@users.noreply.github.com> | 2023-04-16 23:47:15 +0200 |
---|---|---|
committer | Pttn <28868425+Pttn@users.noreply.github.com> | 2023-04-16 23:48:05 +0200 |
commit | 0d6383fda04a99726654945a737bbb1369e0e44a (patch) | |
tree | 7185c3be4801bfb25baf10c902240d995e8063d2 /src | |
parent | b22c275582ccadc172d213d30cc261cc858f8b8e (diff) | |
download | bitcoin-0d6383fda04a99726654945a737bbb1369e0e44a.tar.xz |
Don't return OutputType::UNKNOWN in ParseOutputType
Fixes https://github.com/bitcoin/bitcoin/issues/27472
Signed-off-by: Pttn <28868425+Pttn@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/outputtype.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/outputtype.cpp b/src/outputtype.cpp index 270212dca5..9a3870d8dc 100644 --- a/src/outputtype.cpp +++ b/src/outputtype.cpp @@ -32,8 +32,6 @@ std::optional<OutputType> ParseOutputType(const std::string& type) return OutputType::BECH32; } else if (type == OUTPUT_TYPE_STRING_BECH32M) { return OutputType::BECH32M; - } else if (type == OUTPUT_TYPE_STRING_UNKNOWN) { - return OutputType::UNKNOWN; } return std::nullopt; } |