diff --git a/src/types/schemas.ts b/src/types/schemas.ts index e8c90dc0..3a4569ef 100644 --- a/src/types/schemas.ts +++ b/src/types/schemas.ts @@ -4,7 +4,7 @@ import type { MempoolUserOperation } from "./mempool" const hexDataPattern = /^0x[0-9A-Fa-f]*$/ const addressPattern = /^0x[0-9,a-f,A-F]{40}$/ -export const hexData32Pattern = /^0x([0-9a-fA-F][0-9a-fA-F]){0,32}$/ +export const hexData32Pattern = /^0x([0-9a-fA-F][0-9a-fA-F]){32}$/ export const commaSeperatedAddressPattern = /^(0x[0-9a-fA-F]{40})(,\s*(0x[0-9a-fA-F]{40}))*$/