Merge pull request #613 from 0xProject/check-tx-receipt-status

Check transaction receipt status
This commit is contained in:
Alex Browne
2018-05-23 18:12:41 -07:00
committed by GitHub
21 changed files with 144 additions and 94 deletions

View File

@@ -623,7 +623,7 @@ export class Blockchain {
);
const provider = this._contractWrappers.getProvider();
const web3Wrapper = new Web3Wrapper(provider);
const receipt = await web3Wrapper.awaitTransactionMinedAsync(txHash);
const receipt = await web3Wrapper.awaitTransactionSuccessAsync(txHash);
return receipt;
}
private _doesUserAddressExist(): boolean {