We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c3535 commit cc0e2d1Copy full SHA for cc0e2d1
src/util/strencodings.cpp
@@ -96,8 +96,8 @@ std::optional<std::vector<Byte>> TryParseHex(std::string_view str)
96
}
97
return vch;
98
99
-template std::vector<std::byte> ParseHex(std::string_view);
100
-template std::vector<uint8_t> ParseHex(std::string_view);
+template std::optional<std::vector<std::byte>> TryParseHex(std::string_view);
+template std::optional<std::vector<uint8_t>> TryParseHex(std::string_view);
101
102
bool SplitHostPort(std::string_view in, uint16_t& portOut, std::string& hostOut)
103
{
0 commit comments