aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/exchange_wrapper.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-23 02:40:27 +0800
committerGitHub <noreply@github.com>2018-05-23 02:40:27 +0800
commit96febf663924445363e0120b7341bf0c12b03700 (patch)
tree73930dcb56db0c1ef38befea5418847ff09e189f /packages/contracts/src/utils/exchange_wrapper.ts
parent09e59cf67761e86046221d058a9632730a5a632a (diff)
parent5456187dd03c0dd5eb141259541e7fe65f2c9ad8 (diff)
downloaddexon-0x-contracts-96febf663924445363e0120b7341bf0c12b03700.tar.gz
dexon-0x-contracts-96febf663924445363e0120b7341bf0c12b03700.tar.zst
dexon-0x-contracts-96febf663924445363e0120b7341bf0c12b03700.zip
Merge pull request #605 from 0xProject/fix/multiple/build-errors
Fix build/lint errors and warnings
Diffstat (limited to 'packages/contracts/src/utils/exchange_wrapper.ts')
-rw-r--r--packages/contracts/src/utils/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/exchange_wrapper.ts b/packages/contracts/src/utils/exchange_wrapper.ts
index 46531fa3f..21e569f54 100644
--- a/packages/contracts/src/utils/exchange_wrapper.ts
+++ b/packages/contracts/src/utils/exchange_wrapper.ts
@@ -245,7 +245,7 @@ export class ExchangeWrapper {
const tx = await this._getTxWithDecodedExchangeLogsAsync(txHash);
return tx;
}
- private async _getTxWithDecodedExchangeLogsAsync(txHash: string) {
+ private async _getTxWithDecodedExchangeLogsAsync(txHash: string): Promise<TransactionReceiptWithDecodedLogs> {
const tx = await this._zeroEx.awaitTransactionMinedAsync(txHash);
tx.logs = _.filter(tx.logs, log => log.address === this._exchange.address);
tx.logs = _.map(tx.logs, log => this._logDecoder.decodeLogOrThrow(log));