mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05: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>
This commit is contained in:
parent
b22c275582
commit
0d6383fda0
1 changed files with 0 additions and 2 deletions
|
@ -32,8 +32,6 @@ std::optional<OutputType> ParseOutputType(const std::string& type)
|
||||||
return OutputType::BECH32;
|
return OutputType::BECH32;
|
||||||
} else if (type == OUTPUT_TYPE_STRING_BECH32M) {
|
} else if (type == OUTPUT_TYPE_STRING_BECH32M) {
|
||||||
return OutputType::BECH32M;
|
return OutputType::BECH32M;
|
||||||
} else if (type == OUTPUT_TYPE_STRING_UNKNOWN) {
|
|
||||||
return OutputType::UNKNOWN;
|
|
||||||
}
|
}
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue