From fc9fd6661b13317d203a61407817e6ecf3897ba8 Mon Sep 17 00:00:00 2001 From: Petar Penovic <8030344+penovicp@users.noreply.github.com> Date: Tue, 7 Mar 2023 09:23:32 +0100 Subject: [PATCH] fix: rectify default provider wait parameter typing --- src/provider/default.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/provider/default.ts b/src/provider/default.ts index 15b21d32b..e1ec2dab8 100644 --- a/src/provider/default.ts +++ b/src/provider/default.ts @@ -187,7 +187,7 @@ export class Provider implements ProviderInterface { public async waitForTransaction( txHash: BigNumberish, - options: waitForTransactionOptions + options?: waitForTransactionOptions ): Promise { return this.provider.waitForTransaction(txHash, options); }