diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-02 08:02:54 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-02 08:02:54 +0800 |
commit | 7024a7468a549a96cf120e6b7e287e79d7ad2d61 (patch) | |
tree | 54bfa76653f078b54808822dcc2170dc8e4a1052 /packages/order-utils/src | |
parent | 324fab81865a4cebb84dc99200825f4e395008eb (diff) | |
download | dexon-0x-contracts-7024a7468a549a96cf120e6b7e287e79d7ad2d61.tar.gz dexon-0x-contracts-7024a7468a549a96cf120e6b7e287e79d7ad2d61.tar.zst dexon-0x-contracts-7024a7468a549a96cf120e6b7e287e79d7ad2d61.zip |
Improve comments and remove unused imports
Diffstat (limited to 'packages/order-utils/src')
-rw-r--r-- | packages/order-utils/src/order_hash.ts | 2 | ||||
-rw-r--r-- | packages/order-utils/src/signature_utils.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/order-utils/src/order_hash.ts b/packages/order-utils/src/order_hash.ts index d62d428eb..2ef746ef8 100644 --- a/packages/order-utils/src/order_hash.ts +++ b/packages/order-utils/src/order_hash.ts @@ -1,5 +1,5 @@ import { schemas, SchemaValidator } from '@0xproject/json-schemas'; -import { Order, SignatureType, SignedOrder } from '@0xproject/types'; +import { Order, SignedOrder } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import BN = require('bn.js'); import { SolidityTypes } from 'ethereum-types'; diff --git a/packages/order-utils/src/signature_utils.ts b/packages/order-utils/src/signature_utils.ts index 5b56ef577..c57699af0 100644 --- a/packages/order-utils/src/signature_utils.ts +++ b/packages/order-utils/src/signature_utils.ts @@ -16,8 +16,8 @@ import { utils } from './utils'; /** * Verifies that the provided signature is valid according to the 0x Protocol smart contracts * @param data The hex encoded data signed by the supplied signature. - * @param signature A hex encoded 0x Protocol signature made up of: [SignatureType][TypeSpecificData]. - * E.g [SignatureType.EIP712][vrs] + * @param signature A hex encoded 0x Protocol signature made up of: [TypeSpecificData][SignatureType]. + * E.g [vrs][SignatureType.EIP712] * @param signerAddress The hex encoded address that signed the data, producing the supplied signature. * @return Whether the signature is valid for the supplied signerAddress and data. */ |