Fixed typo in arguments name for waitForTransaction (#477).

This commit is contained in:
Richard Moore 2020-02-16 16:15:00 -05:00
parent 9947acc349
commit 4e41871fa4
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

@ -156,7 +156,7 @@ export abstract class Provider implements OnceBlockable {
abstract removeListener(eventName: EventType, listener: Listener): Provider; abstract removeListener(eventName: EventType, listener: Listener): Provider;
// @TODO: This *could* be implemented here, but would pull in events... // @TODO: This *could* be implemented here, but would pull in events...
abstract waitForTransaction(transactionHash: string, timeout?: number): Promise<TransactionReceipt>; abstract waitForTransaction(transactionHash: string, confirmations?: number): Promise<TransactionReceipt>;
constructor() { constructor() {
setType(this, 'Provider'); setType(this, 'Provider');