Skip to content

Commit

Permalink
fix: Fix lints in utils
Browse files Browse the repository at this point in the history
Remove unneccesary character escape
  • Loading branch information
petarvujovic98 committed Sep 27, 2022
1 parent 74159a8 commit c9bb9f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const ERR_INCONSISTENT_STATE =
export const ERR_INDEX_OUT_OF_BOUNDS = "Index out of bounds";

const ACCOUNT_ID_REGEX =
/^(([a-z\d]+[\-_])*[a-z\d]+\.)*([a-z\d]+[\-_])*[a-z\d]+$/;
/^(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+$/;

export function u8ArrayToBytes(array: Uint8Array): Bytes {
return array.reduce(
Expand Down

0 comments on commit c9bb9f1

Please sign in to comment.