Skip to content

Commit

Permalink
fix: contract name
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaans committed Jun 5, 2023
1 parent 5c96438 commit 09a4382
Show file tree
Hide file tree
Showing 2 changed files with 398 additions and 3,865 deletions.
2 changes: 1 addition & 1 deletion frontend/src/utils/validators.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const CONTRACT_NAME_REGEX = RegExp(/^(\*|([a-z\d]+[-_])*[a-z\d]+)(\.*(\*|([a-z\d]+[-_])*[a-z\d]+))*\.(\w+)$/)A
const CONTRACT_NAME_REGEX = RegExp(/^(\*|([a-z\d]+[-_])*[a-z\d]+)(\.*(\*|([a-z\d]+[-_])*[a-z\d]+))*\.(\w+)$/);

export function validateContractId(accountId) {
return (
Expand Down
Loading

0 comments on commit 09a4382

Please sign in to comment.