Skip to content

Commit

Permalink
fix: usd value pattern regex
Browse files Browse the repository at this point in the history
Co-authored-by: Keno Dressel <[email protected]>
  • Loading branch information
thepiwo and kenodressel authored Jun 18, 2024
1 parent 4b3a83e commit 637cca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/api.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const transactionPattern =
export const accountPattern =
'ak_([23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnpqrstuvwxyz]){49,50}';
export const bigNumberPattern = '[1-9]+';
export const usdValuePattern = '[1-9]+.[1-9]{0,4}';
export const usdValuePattern = '[1-9]+(\.[1-9]{0,4})?';

Check failure on line 10 in src/api/api.model.ts

View workflow job for this annotation

GitHub Actions / Lint

Delete `\`
export const microBlockTimePattern = '[1-9]{13}';
export const microBlockHashPattern =
'mh_([23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnpqrstuvwxyz]){49,50}';
Expand Down

0 comments on commit 637cca5

Please sign in to comment.