Check transaction receipt status codes where applicable

This commit is contained in:
Alex Browne
2018-05-22 17:52:27 -07:00
parent f6b81f588d
commit b05a3b7aed
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 {