diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-18 17:19:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 17:19:27 +0800 |
commit | f6f2991a442da156a3dbdeca84683a6c9f46d0e1 (patch) | |
tree | 4951024bfba56d5c3268556c4d4e2ca0ab4f6d17 /packages/contracts | |
parent | 823f2db09fba8f19806ba3fa4bd679e12a58be3f (diff) | |
parent | 4ea222bbffd7a378712320a2f366d5bbee5920af (diff) | |
download | dexon-0x-contracts-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.tar.gz dexon-0x-contracts-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.tar.zst dexon-0x-contracts-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.zip |
Merge pull request #535 from 0xProject/fix/commentRendering
Docs: Fix Type Comment Rendering
Diffstat (limited to 'packages/contracts')
-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); }, |