Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsha256 committed Jul 24, 2014
2 parents 5421e20 + 2419c26 commit 554f588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/blockchain/chain_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace bts{ namespace blockchain {
if ( !isalnum(subname[subname.size()-1]) || isupper(subname[subname.size()-1]) ) return false;
for( const auto& c : subname )
{
if( isalnum(c) && islower(c) ) continue;
if( isalnum(c) && !isupper(c) ) continue;
else if( c == '-' ) continue;
else return false;
}
Expand Down

0 comments on commit 554f588

Please sign in to comment.