aboutsummaryrefslogtreecommitdiff
path: root/src/outputtype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputtype.h')
-rw-r--r--src/outputtype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/outputtype.h b/src/outputtype.h
index 6b4e695760..be5fd62b80 100644
--- a/src/outputtype.h
+++ b/src/outputtype.h
@@ -19,6 +19,7 @@ enum class OutputType {
P2SH_SEGWIT,
BECH32,
BECH32M,
+ UNKNOWN,
};
static constexpr auto OUTPUT_TYPES = std::array{
@@ -26,6 +27,7 @@ static constexpr auto OUTPUT_TYPES = std::array{
OutputType::P2SH_SEGWIT,
OutputType::BECH32,
OutputType::BECH32M,
+ OutputType::UNKNOWN,
};
std::optional<OutputType> ParseOutputType(const std::string& str);