diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-09-21 23:20:48 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-09-21 23:20:48 +0800 |
commit | 7a5376621f2c2503c6415802984b4d8ae05db723 (patch) | |
tree | 1a9d41465cf2a945d5144c632a012f3527817ceb /packages/web3-wrapper/src/web3_wrapper.ts | |
parent | 5e84e9689f0899a39dbfaffe13b80fa07fec5ba8 (diff) | |
parent | 29f6adc2ed57720d2c2aab7b760a4bcfec5d7b37 (diff) | |
download | dexon-sol-tools-7a5376621f2c2503c6415802984b4d8ae05db723.tar dexon-sol-tools-7a5376621f2c2503c6415802984b4d8ae05db723.tar.gz dexon-sol-tools-7a5376621f2c2503c6415802984b4d8ae05db723.tar.bz2 dexon-sol-tools-7a5376621f2c2503c6415802984b4d8ae05db723.tar.lz dexon-sol-tools-7a5376621f2c2503c6415802984b4d8ae05db723.tar.xz dexon-sol-tools-7a5376621f2c2503c6415802984b4d8ae05db723.tar.zst dexon-sol-tools-7a5376621f2c2503c6415802984b4d8ae05db723.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/forwarder-helper/sra-and-rpc
Diffstat (limited to 'packages/web3-wrapper/src/web3_wrapper.ts')
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts index ea78f8801..af0fe3a72 100644 --- a/packages/web3-wrapper/src/web3_wrapper.ts +++ b/packages/web3-wrapper/src/web3_wrapper.ts @@ -539,7 +539,7 @@ export class Web3Wrapper { } // Immediately check if the transaction has already been mined. let transactionReceipt = await this.getTransactionReceiptAsync(txHash); - if (!_.isNull(transactionReceipt)) { + if (!_.isNull(transactionReceipt) && !_.isNull(transactionReceipt.blockNumber)) { const logsWithDecodedArgs = _.map( transactionReceipt.logs, this.abiDecoder.tryToDecodeLogOrNoop.bind(this.abiDecoder), |