From 4e41871fa4cf701d714ad73527a367e9ca1d3431 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Sun, 16 Feb 2020 16:15:00 -0500 Subject: [PATCH] Fixed typo in arguments name for waitForTransaction (#477). --- src.ts/providers/abstract-provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.ts/providers/abstract-provider.ts b/src.ts/providers/abstract-provider.ts index 604fc13b7..2f5236695 100644 --- a/src.ts/providers/abstract-provider.ts +++ b/src.ts/providers/abstract-provider.ts @@ -156,7 +156,7 @@ export abstract class Provider implements OnceBlockable { abstract removeListener(eventName: EventType, listener: Listener): Provider; // @TODO: This *could* be implemented here, but would pull in events... - abstract waitForTransaction(transactionHash: string, timeout?: number): Promise; + abstract waitForTransaction(transactionHash: string, confirmations?: number): Promise; constructor() { setType(this, 'Provider');