diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-05-17 07:59:50 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-05-19 08:01:06 +0800 |
commit | 28bb11217ca004aa01f56d38a3281b6f313c9a16 (patch) | |
tree | 5f06fa423acf5ff214a688c6d7615657ee777000 /packages/contracts/src/utils | |
parent | 636dae6a797ecdbdea186c1590ee35eec4521f41 (diff) | |
download | dexon-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/src/utils')
-rw-r--r-- | packages/contracts/src/utils/exchange_wrapper.ts | 2 |
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) { |