Skip to content

Commit

Permalink
Fixed typo in Provider changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Feb 3, 2023
1 parent a646e43 commit 90afd9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/providers/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ export class Block implements BlockParams, Iterable<string> {
}

getPrefetchedTransaction(indexOrHash: number | string): TransactionResponse {
const txs = this.transactionResponses;
const txs = this.prefetchedTransactions;
if (typeof(indexOrHash) === "number") {
return txs[indexOrHash];
}
Expand Down

0 comments on commit 90afd9b

Please sign in to comment.