Fixed typo in Provider changes.
This commit is contained in:
parent
a646e4332e
commit
90afd9bd81
@ -439,7 +439,7 @@ export class Block implements BlockParams, Iterable<string> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getPrefetchedTransaction(indexOrHash: number | string): TransactionResponse {
|
getPrefetchedTransaction(indexOrHash: number | string): TransactionResponse {
|
||||||
const txs = this.transactionResponses;
|
const txs = this.prefetchedTransactions;
|
||||||
if (typeof(indexOrHash) === "number") {
|
if (typeof(indexOrHash) === "number") {
|
||||||
return txs[indexOrHash];
|
return txs[indexOrHash];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user