Added transactionHash to error for consistency.

This commit is contained in:
Richard Moore 2018-07-27 03:45:11 -04:00
parent d2b6570c39
commit d05da1e487
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -845,6 +845,7 @@ export class Provider extends MinimalProvider {
return this.waitForTransaction(hash, timeout).then((receipt) => {
if (receipt.status === 0) {
errors.throwError('transaction failed', errors.CALL_EXCEPTION, {
transactionHash: hash,
transaction: tx
});
}