Skip to content

Commit 3132640

Browse files
committed
fix privateKeyRegex
1 parent 35ca8d1 commit 3132640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { z } from 'zod';
33

44
const addressRegex = /^0x[a-fA-F0-9]{40}$/;
55
const numericRegex = /^\d+$/;
6-
const privateKeyRegex = /^([a-fA-F0-9]{64})$/;
6+
const privateKeyRegex = /^(0x[a-fA-F0-9]{64})$/;
77

88
const envSchema = z.object({
99
IEXEC_VOUCHER_MANAGER_ACCOUNT_INDEX: z

0 commit comments

Comments
 (0)