Skip to content

Commit 43c253a

Browse files
committed
Fixed waiting for confirmations in deployment transactions (#4212, #4230).
1 parent fe631c6 commit 43c253a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src.ts/contract/wrappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export class ContractTransactionResponse extends TransactionResponse {
110110
* wait until enough confirmations have completed.
111111
*/
112112
async wait(confirms?: number): Promise<null | ContractTransactionReceipt> {
113-
const receipt = await super.wait();
113+
const receipt = await super.wait(confirms);
114114
if (receipt == null) { return null; }
115115
return new ContractTransactionReceipt(this.#iface, this.provider, receipt);
116116
}

0 commit comments

Comments
 (0)