aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-26 07:21:55 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-27 01:56:44 +0800
commit9ddec32260981e714c332651ae292221e06ebc1e (patch)
treed80e8b1cbf8a0d69452f17e857491df6b644450b /packages/contracts/src/utils
parent185e7d43fbf308cd6b2c6032adb5e8160a206d89 (diff)
downloaddexon-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.ts2
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)) {