diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-25 19:50:05 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-25 19:50:05 +0800 |
commit | 3fe582d94c587cf3c38b6c42988890dcd6d54659 (patch) | |
tree | 15b8416207608c70b4d8621646faaa58ccd08039 /src/ts | |
parent | 00b64014525b4aabd82a61c1330a3f126554016a (diff) | |
download | dexon-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/ts')
-rw-r--r-- | src/ts/0x.js.ts | 2 |
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; } /* |