mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-01 16:38:42 +02:00
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> Github-Pull: #27473 Rebased-From: 0d6383fda04a99726654945a737bbb1369e0e44a
This commit is contained in:
parent
9e05de1d70
commit
0bac52d5cf
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user