mirror of
https://github.com/monero-project/monero.git
synced 2026-07-31 16:10:38 -07:00
epee: remove dead code in math_helper and string_tools
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user