aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-05-17 07:59:50 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-05-19 08:01:06 +0800
commit28bb11217ca004aa01f56d38a3281b6f313c9a16 (patch)
tree5f06fa423acf5ff214a688c6d7615657ee777000 /packages/contracts
parent636dae6a797ecdbdea186c1590ee35eec4521f41 (diff)
downloaddexon-sol-tools-28bb11217ca004aa01f56d38a3281b6f313c9a16.tar
dexon-sol-tools-28bb11217ca004aa01f56d38a3281b6f313c9a16.tar.gz
dexon-sol-tools-28bb11217ca004aa01f56d38a3281b6f313c9a16.tar.bz2
dexon-sol-tools-28bb11217ca004aa01f56d38a3281b6f313c9a16.tar.lz
dexon-sol-tools-28bb11217ca004aa01f56d38a3281b6f313c9a16.tar.xz
dexon-sol-tools-28bb11217ca004aa01f56d38a3281b6f313c9a16.tar.zst
dexon-sol-tools-28bb11217ca004aa01f56d38a3281b6f313c9a16.zip
Removed redundant log decode call
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/src/utils/exchange_wrapper.ts2
1 files changed, 0 insertions, 2 deletions
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) {