From 28bb11217ca004aa01f56d38a3281b6f313c9a16 Mon Sep 17 00:00:00 2001 From: Greg Hysen Date: Wed, 16 May 2018 16:59:50 -0700 Subject: Removed redundant log decode call --- packages/contracts/src/utils/exchange_wrapper.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'packages') diff --git a/packages/contracts/src/utils/exchange_wrapper.ts b/packages/contracts/src/utils/exchange_wrapper.ts index 7032db386..46531fa3f 100644 --- a/packages/contracts/src/utils/exchange_wrapper.ts +++ b/packages/contracts/src/utils/exchange_wrapper.ts @@ -243,8 +243,6 @@ export class ExchangeWrapper { { from }, ); const tx = await this._getTxWithDecodedExchangeLogsAsync(txHash); - tx.logs = _.filter(tx.logs, log => log.address === this._exchange.address); - tx.logs = _.map(tx.logs, log => this._logDecoder.decodeLogOrThrow(log)); return tx; } private async _getTxWithDecodedExchangeLogsAsync(txHash: string) { -- cgit v1.2.3