diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-13 08:55:06 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | 4e48de111600412c6344bc5c4df42e4d17807e97 (patch) | |
tree | aa6dde3f7a4c287c158f0965300a861bae20cf26 /packages/contracts/src/utils/crypto.ts | |
parent | b3b29f527e3e3e435b5fe97dd7eb4a42f0fa182c (diff) | |
download | dexon-0x-contracts-4e48de111600412c6344bc5c4df42e4d17807e97.tar dexon-0x-contracts-4e48de111600412c6344bc5c4df42e4d17807e97.tar.gz dexon-0x-contracts-4e48de111600412c6344bc5c4df42e4d17807e97.tar.bz2 dexon-0x-contracts-4e48de111600412c6344bc5c4df42e4d17807e97.tar.lz dexon-0x-contracts-4e48de111600412c6344bc5c4df42e4d17807e97.tar.xz dexon-0x-contracts-4e48de111600412c6344bc5c4df42e4d17807e97.tar.zst dexon-0x-contracts-4e48de111600412c6344bc5c4df42e4d17807e97.zip |
Minor changes to typescript tests
Diffstat (limited to 'packages/contracts/src/utils/crypto.ts')
-rw-r--r-- | packages/contracts/src/utils/crypto.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/crypto.ts b/packages/contracts/src/utils/crypto.ts index 5bc678cdf..222cb7cca 100644 --- a/packages/contracts/src/utils/crypto.ts +++ b/packages/contracts/src/utils/crypto.ts @@ -31,7 +31,7 @@ export const crypto = { argTypes.push('address'); } else if (_.isString(arg)) { argTypes.push('string'); - } else if (arg instanceof Buffer) { + } else if (_.isBuffer(arg)) { argTypes.push('bytes'); } else if (_.isBoolean(arg)) { argTypes.push('bool'); |