aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2023-10-25 16:41:21 -0500
committerjeffro256 <jeffro256@tutanota.com>2023-10-25 16:41:21 -0500
commite191083bedfd3ba30cc1cd9104add12f618d5b59 (patch)
tree94fa3a75ea6e3aed31473bb517b18da8f80be0cf /contrib/epee/src
parentMerge pull request #9013 (diff)
downloadmonero-e191083bedfd3ba30cc1cd9104add12f618d5b59.tar.xz
epee: remove dead code in math_helper and string_tools
Diffstat (limited to 'contrib/epee/src')
-rw-r--r--contrib/epee/src/string_tools.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/contrib/epee/src/string_tools.cpp b/contrib/epee/src/string_tools.cpp
index 984a151b5..3abb83c74 100644
--- a/contrib/epee/src/string_tools.cpp
+++ b/contrib/epee/src/string_tools.cpp
@@ -82,16 +82,6 @@ namespace string_tools
return true;
}
//----------------------------------------------------------------------------
- bool validate_hex(uint64_t length, const std::string& str)
- {
- if (str.size() != length)
- return false;
- for (char c: str)
- if (!isxdigit(c))
- return false;
- return true;
- }
- //----------------------------------------------------------------------------
bool parse_peer_from_string(uint32_t& ip, uint16_t& port, const std::string& addres)
{
//parse ip and address