From 3fe582d94c587cf3c38b6c42988890dcd6d54659 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 25 May 2017 13:50:05 +0200 Subject: Fix tests --- src/ts/0x.js.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /* -- cgit v1.2.3