diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-04 16:47:48 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-04 16:48:53 +0800 |
commit | f26d49f077a9a8b606159f22c05aaf2601dc8f57 (patch) | |
tree | 09678778cd794f8edc080a358162f2d67495cc86 /src/0x.ts | |
parent | ad7ce6c91640c0cb475b6baa3118d0ba8d8f8a46 (diff) | |
download | dexon-sol-tools-f26d49f077a9a8b606159f22c05aaf2601dc8f57.tar dexon-sol-tools-f26d49f077a9a8b606159f22c05aaf2601dc8f57.tar.gz dexon-sol-tools-f26d49f077a9a8b606159f22c05aaf2601dc8f57.tar.bz2 dexon-sol-tools-f26d49f077a9a8b606159f22c05aaf2601dc8f57.tar.lz dexon-sol-tools-f26d49f077a9a8b606159f22c05aaf2601dc8f57.tar.xz dexon-sol-tools-f26d49f077a9a8b606159f22c05aaf2601dc8f57.tar.zst dexon-sol-tools-f26d49f077a9a8b606159f22c05aaf2601dc8f57.zip |
Use Noop instead of NoOp
Diffstat (limited to 'src/0x.ts')
-rw-r--r-- | src/0x.ts | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -307,8 +307,10 @@ export class ZeroEx { const transactionReceipt = await this._web3Wrapper.getTransactionReceiptAsync(txHash); if (!_.isNull(transactionReceipt)) { intervalUtils.clearAsyncExcludingInterval(intervalId); - const tryToDecodeLogOrNoOp = this._abiDecoder.tryToDecodeLogOrNoOp.bind(this._abiDecoder); - const logsWithDecodedArgs = _.map(transactionReceipt.logs, tryToDecodeLogOrNoOp); + const logsWithDecodedArgs = _.map( + transactionReceipt.logs, + this._abiDecoder.tryToDecodeLogOrNoop.bind(this._abiDecoder), + ); const transactionReceiptWithDecodedLogArgs: TransactionReceiptWithDecodedLogs = { ...transactionReceipt, logs: logsWithDecodedArgs, |