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 5e1aab2 commit fa8481bCopy full SHA for fa8481b
src/util/strencodings.cpp
@@ -95,8 +95,8 @@ std::optional<std::vector<Byte>> TryParseHex(std::string_view str)
95
}
96
return vch;
97
98
-template std::vector<std::byte> ParseHex(std::string_view);
99
-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);
100
101
bool SplitHostPort(std::string_view in, uint16_t& portOut, std::string& hostOut)
102
{
0 commit comments