aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-05-25 19:50:05 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-05-25 19:50:05 +0800
commit3fe582d94c587cf3c38b6c42988890dcd6d54659 (patch)
tree15b8416207608c70b4d8621646faaa58ccd08039 /src
parent00b64014525b4aabd82a61c1330a3f126554016a (diff)
downloaddexon-sol-tools-3fe582d94c587cf3c38b6c42988890dcd6d54659.tar
dexon-sol-tools-3fe582d94c587cf3c38b6c42988890dcd6d54659.tar.gz
dexon-sol-tools-3fe582d94c587cf3c38b6c42988890dcd6d54659.tar.bz2
dexon-sol-tools-3fe582d94c587cf3c38b6c42988890dcd6d54659.tar.lz
dexon-sol-tools-3fe582d94c587cf3c38b6c42988890dcd6d54659.tar.xz
dexon-sol-tools-3fe582d94c587cf3c38b6c42988890dcd6d54659.tar.zst
dexon-sol-tools-3fe582d94c587cf3c38b6c42988890dcd6d54659.zip
Fix tests
Diffstat (limited to 'src')
-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;
}
/*