Skip to content

Commit

Permalink
Fixed waiting for confirmations in deployment transactions (#4212, #4230
Browse files Browse the repository at this point in the history
).
  • Loading branch information
ricmoo committed Jul 15, 2023
1 parent fe631c6 commit 43c253a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/contract/wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class ContractTransactionResponse extends TransactionResponse {
* wait until enough confirmations have completed.
*/
async wait(confirms?: number): Promise<null | ContractTransactionReceipt> {
const receipt = await super.wait();
const receipt = await super.wait(confirms);
if (receipt == null) { return null; }
return new ContractTransactionReceipt(this.#iface, this.provider, receipt);
}
Expand Down

0 comments on commit 43c253a

Please sign in to comment.