aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-10-03 07:23:54 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-10-03 07:23:54 +0800
commit42083e140833fa39d62158fe2bdc9bfd21ed8f17 (patch)
treed926e7f8c529e90453829266591b74e64373a16f
parent343b922ec11a6108caaf3095e59be0e56d45ee4a (diff)
downloaddexon-sol-tools-42083e140833fa39d62158fe2bdc9bfd21ed8f17.tar
dexon-sol-tools-42083e140833fa39d62158fe2bdc9bfd21ed8f17.tar.gz
dexon-sol-tools-42083e140833fa39d62158fe2bdc9bfd21ed8f17.tar.bz2
dexon-sol-tools-42083e140833fa39d62158fe2bdc9bfd21ed8f17.tar.lz
dexon-sol-tools-42083e140833fa39d62158fe2bdc9bfd21ed8f17.tar.xz
dexon-sol-tools-42083e140833fa39d62158fe2bdc9bfd21ed8f17.tar.zst
dexon-sol-tools-42083e140833fa39d62158fe2bdc9bfd21ed8f17.zip
Fix linter errors
-rw-r--r--packages/asset-buyer/src/asset_buyer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/asset_buyer.ts b/packages/asset-buyer/src/asset_buyer.ts
index 53bbe427b..0bb757f52 100644
--- a/packages/asset-buyer/src/asset_buyer.ts
+++ b/packages/asset-buyer/src/asset_buyer.ts
@@ -1,4 +1,3 @@
-import { HttpClient } from '@0xproject/connect';
import { ContractWrappers } from '@0xproject/contract-wrappers';
import { schemas } from '@0xproject/json-schemas';
import { SignedOrder } from '@0xproject/order-utils';
@@ -239,6 +238,7 @@ export class AssetBuyer {
const shouldRefresh =
_.isUndefined(ordersEntryIfExists) ||
shouldForceOrderRefresh ||
+ // tslint:disable:restrict-plus-operands
ordersEntryIfExists.lastRefreshTime + this.orderRefreshIntervalMs < Date.now();
if (!shouldRefresh) {
const result = ordersEntryIfExists.ordersAndFillableAmounts;