Added transactionHash to error for consistency.
This commit is contained in:
parent
d2b6570c39
commit
d05da1e487
@ -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
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user