From 6529e060575c22612ded98545d1915686c54161d Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Thu, 19 Jul 2018 17:51:03 +1000 Subject: Rename call data schema id to CallData. Check for TypedArray when hashing data in order-utils crypto --- packages/order-utils/src/crypto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils/src/crypto.ts') 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'); -- cgit v1.2.3