aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ts/0x.js.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ts/0x.js.ts b/src/ts/0x.js.ts
index 5e500b481..f52750eb6 100644
--- a/src/ts/0x.js.ts
+++ b/src/ts/0x.js.ts
@@ -54,7 +54,7 @@ export class ZeroEx {
/** Checks if order hash is valid */
public static isValidOrderHash(orderHash: string): boolean {
assert.isString('orderHash', orderHash);
- const isValid = /^0x[0-9A-F]{66}$/i.test(orderHash);
+ const isValid = /^0x[0-9A-F]{64}$/i.test(orderHash);
return isValid;
}
/*