From 90afd9bd81ed1408421a0247fa0845a74c9eb319 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 2 Feb 2023 22:20:41 -0500 Subject: [PATCH] Fixed typo in Provider changes. --- src.ts/providers/provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.ts/providers/provider.ts b/src.ts/providers/provider.ts index aec79c973..c07d2a304 100644 --- a/src.ts/providers/provider.ts +++ b/src.ts/providers/provider.ts @@ -439,7 +439,7 @@ export class Block implements BlockParams, Iterable { } getPrefetchedTransaction(indexOrHash: number | string): TransactionResponse { - const txs = this.transactionResponses; + const txs = this.prefetchedTransactions; if (typeof(indexOrHash) === "number") { return txs[indexOrHash]; }