Skip to content

Commit 0d6383f

Browse files
committed
Don't return OutputType::UNKNOWN in ParseOutputType
Fixes bitcoin/bitcoin#27472 Signed-off-by: Pttn <[email protected]>
1 parent b22c275 commit 0d6383f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/outputtype.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ std::optional<OutputType> ParseOutputType(const std::string& type)
3232
return OutputType::BECH32;
3333
} else if (type == OUTPUT_TYPE_STRING_BECH32M) {
3434
return OutputType::BECH32M;
35-
} else if (type == OUTPUT_TYPE_STRING_UNKNOWN) {
36-
return OutputType::UNKNOWN;
3735
}
3836
return std::nullopt;
3937
}

0 commit comments

Comments
 (0)