diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-08 03:58:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-08 03:58:19 +0800 |
commit | 8fba0477a69317c19b3446c76a17cb3adbf447d7 (patch) | |
tree | 7c0cc8f53f1c9e7fe7f5f6d3d1f7b8249edbdaa7 /packages/website/ts/components/generate_order/generate_order_form.tsx | |
parent | e6f2c7a382e2e7e940f430f350240cb2f703bdcd (diff) | |
download | dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.gz dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.bz2 dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.lz dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.xz dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.zst dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.zip |
Remove hash from signatureData
Diffstat (limited to 'packages/website/ts/components/generate_order/generate_order_form.tsx')
-rw-r--r-- | packages/website/ts/components/generate_order/generate_order_form.tsx | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/packages/website/ts/components/generate_order/generate_order_form.tsx b/packages/website/ts/components/generate_order/generate_order_form.tsx index 6fe0fa4f3..5f1cf3c8e 100644 --- a/packages/website/ts/components/generate_order/generate_order_form.tsx +++ b/packages/website/ts/components/generate_order/generate_order_form.tsx @@ -1,4 +1,4 @@ -import { Order, ZeroEx } from '0x.js'; +import { ECSignature, Order, ZeroEx } from '0x.js'; import { BigNumber } from '@0xproject/utils'; import * as _ from 'lodash'; import Dialog from 'material-ui/Dialog'; @@ -19,16 +19,7 @@ import { SwapIcon } from 'ts/components/ui/swap_icon'; import { Dispatcher } from 'ts/redux/dispatcher'; import { orderSchema } from 'ts/schemas/order_schema'; import { SchemaValidator } from 'ts/schemas/validator'; -import { - AlertTypes, - BlockchainErrs, - HashData, - Side, - SideToAssetToken, - SignatureData, - Token, - TokenByAddress, -} from 'ts/types'; +import { AlertTypes, BlockchainErrs, HashData, Side, SideToAssetToken, Token, TokenByAddress } from 'ts/types'; import { colors } from 'ts/utils/colors'; import { constants } from 'ts/utils/constants'; import { errorReporter } from 'ts/utils/error_reporter'; @@ -49,7 +40,7 @@ interface GenerateOrderFormProps { orderExpiryTimestamp: BigNumber; networkId: number; userAddress: string; - orderSignatureData: SignatureData; + orderECSignature: ECSignature; orderTakerAddress: string; orderSalt: BigNumber; sideToAssetToken: SideToAssetToken; @@ -209,7 +200,7 @@ export class GenerateOrderForm extends React.Component<GenerateOrderFormProps, G <OrderJSON exchangeContractIfExists={exchangeContractIfExists} orderExpiryTimestamp={this.props.orderExpiryTimestamp} - orderSignatureData={this.props.orderSignatureData} + orderECSignature={this.props.orderECSignature} orderTakerAddress={this.props.orderTakerAddress} orderMakerAddress={this.props.userAddress} orderSalt={this.props.orderSalt} |