Skip to content

Commit

Permalink
fixed error description (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
sczembor authored Aug 19, 2022
1 parent 7229f19 commit fbefc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/types-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const ASADefSchema = z.object({
.union([z.number(), z.bigint(), z.string()]) // 'string' to support bigint from yaml file
.refine(
(t) => totalRegex.test(String(t)) && BigInt(t) <= 0xffffffffffffffffn && BigInt(t) >= 0n,
{ message: "Total must be a positive number and smaller than 2^64-1" }
{ message: "Total must be a positive number <= 2^64-1" }
),
decimals: z
.union([z.number(), z.bigint()])
Expand Down

0 comments on commit fbefc7c

Please sign in to comment.