Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
disable RFQT debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dekz committed Aug 14, 2020
1 parent e647b3d commit dedd721
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/services/swap_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ export class SwapService {
...SWAP_QUOTER_OPTS,
rfqt: {
...SWAP_QUOTER_OPTS.rfqt,
warningLogger: logger.warn.bind(logger),
infoLogger: logger.info.bind(logger),
// tslint:disable-next-line:no-empty
warningLogger: () => {},
// tslint:disable-next-line:no-empty
infoLogger: () => {},
// warningLogger: logger.warn.bind(logger),
// infoLogger: logger.info.bind(logger),
},
};
this._swapQuoter = new SwapQuoter(this._provider, orderbook, swapQuoterOpts);
Expand Down

0 comments on commit dedd721

Please sign in to comment.