We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe631c6 commit 43c253aCopy full SHA for 43c253a
src.ts/contract/wrappers.ts
@@ -110,7 +110,7 @@ export class ContractTransactionResponse extends TransactionResponse {
110
* wait until enough confirmations have completed.
111
*/
112
async wait(confirms?: number): Promise<null | ContractTransactionReceipt> {
113
- const receipt = await super.wait();
+ const receipt = await super.wait(confirms);
114
if (receipt == null) { return null; }
115
return new ContractTransactionReceipt(this.#iface, this.provider, receipt);
116
}
0 commit comments