From a2f89347a9951443323afb2afe75d48204eb0aa1 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 25 Oct 2017 15:21:02 +0300 Subject: Fix tests --- src/web3_wrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web3_wrapper.ts b/src/web3_wrapper.ts index 56b08ebec..be81fe78c 100644 --- a/src/web3_wrapper.ts +++ b/src/web3_wrapper.ts @@ -33,7 +33,7 @@ export class Web3Wrapper { } public async getTransactionReceiptAsync(txHash: string): Promise { const transactionReceipt = await promisify(this.web3.eth.getTransactionReceipt)(txHash); - transactionReceipt.status = this.normalizeTxReceiptStatus(status); + transactionReceipt.status = this.normalizeTxReceiptStatus(transactionReceipt.status); return transactionReceipt; } public getCurrentProvider(): Web3.Provider { -- cgit