diff options
author | Jacob Evans <jacob@dekz.net> | 2018-07-19 15:51:03 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-07-19 15:51:03 +0800 |
commit | 6529e060575c22612ded98545d1915686c54161d (patch) | |
tree | e09510a4a4e6de5e7ecd863e3cb5ed042d118753 /packages/order-utils/src | |
parent | 3a18c249f5c780240f3dac7eb318118740056367 (diff) | |
download | dexon-sol-tools-6529e060575c22612ded98545d1915686c54161d.tar dexon-sol-tools-6529e060575c22612ded98545d1915686c54161d.tar.gz dexon-sol-tools-6529e060575c22612ded98545d1915686c54161d.tar.bz2 dexon-sol-tools-6529e060575c22612ded98545d1915686c54161d.tar.lz dexon-sol-tools-6529e060575c22612ded98545d1915686c54161d.tar.xz dexon-sol-tools-6529e060575c22612ded98545d1915686c54161d.tar.zst dexon-sol-tools-6529e060575c22612ded98545d1915686c54161d.zip |
Rename call data schema id to CallData.
Check for TypedArray when hashing data in order-utils crypto
Diffstat (limited to 'packages/order-utils/src')
-rw-r--r-- | packages/order-utils/src/crypto.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/order-utils/src/crypto.ts b/packages/order-utils/src/crypto.ts index 517ca2840..0f1504a72 100644 --- a/packages/order-utils/src/crypto.ts +++ b/packages/order-utils/src/crypto.ts @@ -32,7 +32,7 @@ export const crypto = { argTypes.push('address'); } else if (_.isString(arg)) { argTypes.push('string'); - } else if (_.isBuffer(arg)) { + } else if (_.isBuffer(arg) || _.isTypedArray(arg)) { argTypes.push('bytes'); } else if (_.isBoolean(arg)) { argTypes.push('bool'); |