diff options
Diffstat (limited to 'src/util/chaintype.cpp')
-rw-r--r-- | src/util/chaintype.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/chaintype.cpp b/src/util/chaintype.cpp index 8a199e352a..272466e7af 100644 --- a/src/util/chaintype.cpp +++ b/src/util/chaintype.cpp @@ -15,6 +15,8 @@ std::string ChainTypeToString(ChainType chain) return "main"; case ChainType::TESTNET: return "test"; + case ChainType::TESTNET4: + return "testnet4"; case ChainType::SIGNET: return "signet"; case ChainType::REGTEST: @@ -29,6 +31,8 @@ std::optional<ChainType> ChainTypeFromString(std::string_view chain) return ChainType::MAIN; } else if (chain == "test") { return ChainType::TESTNET; + } else if (chain == "testnet4") { + return ChainType::TESTNET4; } else if (chain == "signet") { return ChainType::SIGNET; } else if (chain == "regtest") { |