diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-04-26 07:21:55 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-27 01:56:44 +0800 |
commit | 9ddec32260981e714c332651ae292221e06ebc1e (patch) | |
tree | d80e8b1cbf8a0d69452f17e857491df6b644450b /packages/contracts/src/utils | |
parent | 185e7d43fbf308cd6b2c6032adb5e8160a206d89 (diff) | |
download | dexon-sol-tools-9ddec32260981e714c332651ae292221e06ebc1e.tar.gz dexon-sol-tools-9ddec32260981e714c332651ae292221e06ebc1e.tar.zst dexon-sol-tools-9ddec32260981e714c332651ae292221e06ebc1e.zip |
Add tests and comments
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r-- | packages/contracts/src/utils/crypto.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/crypto.ts b/packages/contracts/src/utils/crypto.ts index 85a37122a..222cb7cca 100644 --- a/packages/contracts/src/utils/crypto.ts +++ b/packages/contracts/src/utils/crypto.ts @@ -29,8 +29,6 @@ export const crypto = { args[i] = new BN(arg.toString(10), 10); } else if (ethUtil.isValidAddress(arg)) { argTypes.push('address'); - } else if (arg instanceof Buffer) { - argTypes.push('bytes'); } else if (_.isString(arg)) { argTypes.push('string'); } else if (_.isBuffer(arg)) { |