Skip to content

Commit

Permalink
More aggresively check for mempool transactions sent from JsonRpcSigner.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 14, 2021
1 parent 5144acf commit 3316468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/providers/src.ts/json-rpc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export class JsonRpcSigner extends Signer implements TypedDataSigner {
if (tx === null) { return undefined; }
return this.provider._wrapTransaction(tx, hash);
});
}, { onceBlock: this.provider }).catch((error: Error) => {
}, { oncePoll: this.provider }).catch((error: Error) => {
(<any>error).transactionHash = hash;
throw error;
});
Expand Down

0 comments on commit 3316468

Please sign in to comment.