@0x/contracts-exchange: Fix broken tests.

`@0x/contracts-test-utils`: Remove unecessary wait timeout in
`LogDecoder`.
This commit is contained in:
Lawrence Forman
2019-08-08 02:47:10 -04:00
parent 14fe3045dc
commit c83864af9c
2 changed files with 5 additions and 6 deletions

View File

@@ -45,10 +45,7 @@ export class LogDecoder {
return logWithDecodedArgsOrLog;
}
public async getTxWithDecodedLogsAsync(txHash: string): Promise<TransactionReceiptWithDecodedLogs> {
const receipt = await this._web3Wrapper.awaitTransactionSuccessAsync(
txHash,
constants.AWAIT_TRANSACTION_MINED_MS,
);
const receipt = await this._web3Wrapper.awaitTransactionSuccessAsync(txHash);
return this.decodeReceiptLogs(receipt);
}
public decodeReceiptLogs(receipt: TransactionReceipt): TransactionReceiptWithDecodedLogs {