diff options
author | jeffro256 <jeffro256@tutanota.com> | 2023-10-25 16:41:21 -0500 |
---|---|---|
committer | jeffro256 <jeffro256@tutanota.com> | 2023-10-25 16:41:21 -0500 |
commit | e191083bedfd3ba30cc1cd9104add12f618d5b59 (patch) | |
tree | 94fa3a75ea6e3aed31473bb517b18da8f80be0cf /contrib/epee/src | |
parent | Merge pull request #9013 (diff) | |
download | monero-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.cpp | 10 |
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 |