diff --git a/src/util/strencodings.cpp b/src/util/strencodings.cpp index 03459dcf20bb8..a54f408496bb6 100644 --- a/src/util/strencodings.cpp +++ b/src/util/strencodings.cpp @@ -95,8 +95,8 @@ std::optional> TryParseHex(std::string_view str) } return vch; } -template std::vector ParseHex(std::string_view); -template std::vector ParseHex(std::string_view); +template std::optional> TryParseHex(std::string_view); +template std::optional> TryParseHex(std::string_view); bool SplitHostPort(std::string_view in, uint16_t& portOut, std::string& hostOut) {