asset-swapper: Rm unused field in SwapQuoterOpts

This commit is contained in:
F. Eugene Aumson
2020-04-14 20:44:14 -04:00
parent 957e3eb93c
commit 80c8712b2a
2 changed files with 1 additions and 4 deletions

View File

@@ -170,8 +170,7 @@ export class SwapQuoter {
this._devUtilsContract = new DevUtilsContract(this._contractAddresses.devUtils, provider);
this._protocolFeeUtils = new ProtocolFeeUtils(constants.PROTOCOL_FEE_UTILS_POLLING_INTERVAL_IN_MS);
this._orderStateUtils = new OrderStateUtils(this._devUtilsContract);
this._quoteRequestor =
options.quoteRequestor || new QuoteRequestor(options.rfqt ? options.rfqt.makerEndpoints || [] : []);
this._quoteRequestor = new QuoteRequestor(options.rfqt ? options.rfqt.makerEndpoints || [] : []);
const sampler = new DexOrderSampler(
new IERC20BridgeSamplerContract(this._contractAddresses.erc20BridgeSampler, this.provider, {
gas: samplerGasLimit,

View File

@@ -3,7 +3,6 @@ import { SignedOrder } from '@0x/types';
import { BigNumber } from '@0x/utils';
import { GetMarketOrdersOpts } from './utils/market_operation_utils/types';
import { QuoteRequestor } from './utils/quote_requestor';
/**
* expiryBufferMs: The number of seconds to add when calculating whether an order is expired or not. Defaults to 300s (5m).
@@ -226,7 +225,6 @@ export interface SwapQuoterOpts extends OrderPrunerOpts {
takerApiKeyWhitelist: string[];
makerEndpoints: string[];
};
quoteRequestor?: QuoteRequestor;
}
/**