aboutsummaryrefslogtreecommitdiffstats
path: root/src/web3_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-25 20:21:02 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 04:05:06 +0800
commita2f89347a9951443323afb2afe75d48204eb0aa1 (patch)
tree1b6a710c1b7fdb0dbdc163f3795eb563247e9d53 /src/web3_wrapper.ts
parent50ee23ebfa5270f98c64c8be5ba4a7061c47bc27 (diff)
downloaddexon-sol-tools-a2f89347a9951443323afb2afe75d48204eb0aa1.tar
dexon-sol-tools-a2f89347a9951443323afb2afe75d48204eb0aa1.tar.gz
dexon-sol-tools-a2f89347a9951443323afb2afe75d48204eb0aa1.tar.bz2
dexon-sol-tools-a2f89347a9951443323afb2afe75d48204eb0aa1.tar.lz
dexon-sol-tools-a2f89347a9951443323afb2afe75d48204eb0aa1.tar.xz
dexon-sol-tools-a2f89347a9951443323afb2afe75d48204eb0aa1.tar.zst
dexon-sol-tools-a2f89347a9951443323afb2afe75d48204eb0aa1.zip
Fix tests
Diffstat (limited to 'src/web3_wrapper.ts')
-rw-r--r--src/web3_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
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<TransactionReceipt> {
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 {