Skip to content

Commit c604b14

Browse files
committed
Merge branch 'master' of github.com:bitshares/bitsharesjs
2 parents b7306a6 + c0ba614 commit c604b14

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/chain/src/ChainValidation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ var chainValidation = {
129129
if (!/^[A-Z]/.test(value)) {
130130
return suffix + "start with a letter";
131131
}
132-
if (!/[A-Z]$/.test(value)) {
133-
return suffix + "end with a letter";
132+
if (!/[A-Z0-9]$/.test(value)) {
133+
return suffix + "end with a letter or number";
134134
}
135135
if (/^[A-Z0-9\.]$/.test(value)) {
136136
return suffix + "contain only letters numbers and perhaps a dot.";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bitsharesjs",
3-
"version": "1.7.9",
3+
"version": "1.7.10",
44
"description": "Pure JavaScript Bitshares library for node.js and browsers.",
55
"browser": {
66
"ws": false,

0 commit comments

Comments
 (0)