diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-18 14:22:20 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-18 14:22:20 +0800 |
commit | 64c5c5eb409683d152744a440735ff548fe57ead (patch) | |
tree | 49cde91246005830566048f7f8bab0bcdbe7ea0a /packages/contracts/util | |
parent | 7a8edb5018acaf7aaf49ebefd8b3afec713a19eb (diff) | |
download | dexon-sol-tools-64c5c5eb409683d152744a440735ff548fe57ead.tar dexon-sol-tools-64c5c5eb409683d152744a440735ff548fe57ead.tar.gz dexon-sol-tools-64c5c5eb409683d152744a440735ff548fe57ead.tar.bz2 dexon-sol-tools-64c5c5eb409683d152744a440735ff548fe57ead.tar.lz dexon-sol-tools-64c5c5eb409683d152744a440735ff548fe57ead.tar.xz dexon-sol-tools-64c5c5eb409683d152744a440735ff548fe57ead.tar.zst dexon-sol-tools-64c5c5eb409683d152744a440735ff548fe57ead.zip |
Fix comments
Diffstat (limited to 'packages/contracts/util')
-rw-r--r-- | packages/contracts/util/crypto.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/contracts/util/crypto.ts b/packages/contracts/util/crypto.ts index 97b8f5643..810072d2f 100644 --- a/packages/contracts/util/crypto.ts +++ b/packages/contracts/util/crypto.ts @@ -4,14 +4,14 @@ import ethUtil = require('ethereumjs-util'); import * as _ from 'lodash'; export const crypto = { - /* - * We convert types from JS to Solidity as follows: - * BigNumber -> uint256 - * number -> uint8 - * string -> string - * boolean -> bool - * valid Ethereum address -> address - */ + /** + * We convert types from JS to Solidity as follows: + * BigNumber -> uint256 + * number -> uint8 + * string -> string + * boolean -> bool + * valid Ethereum address -> address + */ solSHA3(args: any[]): Buffer { return crypto._solHash(args, ABI.soliditySHA3); }, |