aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-05 03:09:24 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-05 03:09:24 +0800
commit46b168e10f3363096789d88a77b3578f2934ca70 (patch)
treec2b3641590cd6e74f4c6c6490ea2b13e998f73fc
parenta173c5fc38f32a5c965cbd4cc7268294580a35f1 (diff)
downloaddexon-sol-tools-46b168e10f3363096789d88a77b3578f2934ca70.tar
dexon-sol-tools-46b168e10f3363096789d88a77b3578f2934ca70.tar.gz
dexon-sol-tools-46b168e10f3363096789d88a77b3578f2934ca70.tar.bz2
dexon-sol-tools-46b168e10f3363096789d88a77b3578f2934ca70.tar.lz
dexon-sol-tools-46b168e10f3363096789d88a77b3578f2934ca70.tar.xz
dexon-sol-tools-46b168e10f3363096789d88a77b3578f2934ca70.tar.zst
dexon-sol-tools-46b168e10f3363096789d88a77b3578f2934ca70.zip
Run linter
-rw-r--r--packages/website/ts/components/fill_order.tsx3
-rw-r--r--packages/website/ts/utils/utils.ts1
-rw-r--r--yarn.lock6
3 files changed, 4 insertions, 6 deletions
diff --git a/packages/website/ts/components/fill_order.tsx b/packages/website/ts/components/fill_order.tsx
index 4c7fa0356..3c3155349 100644
--- a/packages/website/ts/components/fill_order.tsx
+++ b/packages/website/ts/components/fill_order.tsx
@@ -600,9 +600,6 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
let globalErrMsg = '';
const signedOrder = parsedOrder.signedOrder;
const takerTokenAmount = signedOrder.takerAssetAmount;
- const orderHash = orderHashUtils.getOrderHashHex(signedOrder);
- const unavailableTakerAmount = await this.props.blockchain.getUnavailableTakerAmountAsync(orderHash);
- const availableTakerTokenAmount = takerTokenAmount.minus(unavailableTakerAmount);
if (!_.isEmpty(globalErrMsg)) {
this.setState({
isCancelling: false,
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index d78dfb1fc..b45e37aeb 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -10,6 +10,7 @@ import * as _ from 'lodash';
import * as moment from 'moment';
import * as numeral from 'numeral';
+import { Provider } from 'ethereum-types';
import {
AccountState,
BlockchainCallErrs,
diff --git a/yarn.lock b/yarn.lock
index 009ba52b1..1dc0ec11f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5371,9 +5371,9 @@ ethereumjs-wallet@~0.6.0:
utf8 "^3.0.0"
uuid "^3.3.2"
-ethers@3.0.22:
- version "3.0.22"
- resolved "https://registry.npmjs.org/ethers/-/ethers-3.0.22.tgz#7fab1ea16521705837aa43c15831877b2716b436"
+ethers@0xproject/ethers.js#eip-838-reasons, ethers@3.0.22:
+ version "3.0.18"
+ resolved "https://codeload.github.com/0xproject/ethers.js/tar.gz/b91342bd200d142af0165d6befddf783c8ae8447"
dependencies:
aes-js "3.0.0"
bn.js "^4.4.0"