aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 21:48:59 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 21:48:59 +0800
commit4d509331893066de7630e76ac19f3795a1ab637b (patch)
treeb4e8973304887bd572b6395e871c907d8bacb722 /packages/website/ts/components
parent9b3680780fab26543331524870eba75eea08a426 (diff)
downloaddexon-sol-tools-4d509331893066de7630e76ac19f3795a1ab637b.tar.gz
dexon-sol-tools-4d509331893066de7630e76ac19f3795a1ab637b.tar.zst
dexon-sol-tools-4d509331893066de7630e76ac19f3795a1ab637b.zip
Rename exchangeContract to exchangeContractAddress
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/fill_order.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/fill_order.tsx b/packages/website/ts/components/fill_order.tsx
index c0b16f251..88e39b1d3 100644
--- a/packages/website/ts/components/fill_order.tsx
+++ b/packages/website/ts/components/fill_order.tsx
@@ -422,7 +422,7 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
const parsedTakerFee = new BigNumber(parsedOrder.taker.feeAmount);
const zeroExOrder: ZeroExOrder = {
- exchangeContractAddress: parsedOrder.exchangeContract,
+ exchangeContractAddress: parsedOrder.exchangeContractAddress,
expirationUnixTimestampSec: expiration,
feeRecipient: parsedOrder.feeRecipient,
maker: parsedOrder.maker.address,
@@ -443,7 +443,7 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
orderJSONErrMsg = `This order was made on another Ethereum network
(id: ${parsedOrder.networkId}). Connect to this network to fill.`;
parsedOrder = undefined;
- } else if (exchangeContractAddr !== parsedOrder.exchangeContract) {
+ } else if (exchangeContractAddr !== parsedOrder.exchangeContractAddress) {
orderJSONErrMsg = 'This order was made using a deprecated 0x Exchange contract.';
parsedOrder = undefined;
} else if (orderHash !== signature.hash) {