address.cpp: Don't special-case BTS prefix
This commit is contained in:
parent
6b469528a1
commit
704f943181
1 changed files with 0 additions and 4 deletions
|
|
@ -39,10 +39,6 @@ namespace graphene {
|
|||
|
||||
bool address::is_valid( const std::string& base58str, const std::string& prefix )
|
||||
{
|
||||
// TODO: This is temporary for testing
|
||||
if( prefix == GRAPHENE_ADDRESS_PREFIX && is_valid( base58str, "BTS" ) )
|
||||
return true;
|
||||
|
||||
const size_t prefix_len = prefix.size();
|
||||
if( base58str.size() <= prefix_len )
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue