Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
asset-swapper: remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
feuGeneA committed Apr 23, 2020
1 parent 22f9b03 commit 141c30b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/asset-swapper/src/utils/quote_requestor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export class QuoteRequestor {
constructor(rfqtMakerEndpoints: string[], logger: (s: string) => void = logUtils.warn.bind(logUtils)) {
this._rfqtMakerEndpoints = rfqtMakerEndpoints;
this._warningLogger = logger;
this._warningLogger('inside QuoteRequestor constructor');
}

public async requestRfqtFirmQuotesAsync(
Expand All @@ -98,7 +97,6 @@ export class QuoteRequestor {
marketOperation: MarketOperation,
options?: Partial<RfqtRequestOpts>,
): Promise<SignedOrder[]> {
this._warningLogger('inside firm quotes');
const _opts = _.merge({}, constants.DEFAULT_RFQT_REQUEST_OPTS, options);
assertTakerAddressOrThrow(_opts.takerAddress);

Expand All @@ -116,7 +114,6 @@ export class QuoteRequestor {
timeout: _opts.makerEndpointMaxResponseTimeMs,
});
} catch (err) {
logUtils.log(`failing`);
this._warningLogger(
`Failed to get RFQ-T firm quote from market maker endpoint ${rfqtMakerEndpoint} for API key ${
_opts.apiKey
Expand Down

0 comments on commit 141c30b

Please sign in to comment.