From f26d49f077a9a8b606159f22c05aaf2601dc8f57 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 4 Oct 2017 11:47:48 +0300 Subject: Use Noop instead of NoOp --- src/0x.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/0x.ts') diff --git a/src/0x.ts b/src/0x.ts index c5e8e0066..ba68a6e1e 100644 --- a/src/0x.ts +++ b/src/0x.ts @@ -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, -- cgit v1.2.3