From 00078afa07266ba6c7b88b471ed151a94a00876a Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Tue, 9 Jun 2015 16:40:20 -0400 Subject: [PATCH] Fix #15 - accept aaa-bbb-1 as valid according to RFC 1035 --- libraries/chain/operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/chain/operations.cpp b/libraries/chain/operations.cpp index 07078acf..ddd63008 100644 --- a/libraries/chain/operations.cpp +++ b/libraries/chain/operations.cpp @@ -59,7 +59,7 @@ bool is_valid_name( const string& s ) if( c >= 'a' && c <= 'z' ){} else if( c >= '0' && c <= '9' ) { - if( prev == ' ' || prev == '.' || prev == '-' || prev == '/' ) return false; + if( prev == ' ' || prev == '.' || prev == '/' ) return false; } else switch( c ) {