Batch esplora outspends requests

This commit is contained in:
Mononaut committed 2023-11-12 07:03:28 +00:00
1 parent 823f06451c
commit 8aa51c4e80
6 files changed
+38 -20

No files matched your search

@@ -75,7 +75,7 @@ export class TransactionsListComponent implements OnInit, OnChanges {
for (let i = 0; i < txIds.length; i += 50) {
batches.push(txIds.slice(i, i + 50));
}
return forkJoin(batches.map(batch => { return this.apiService.cachedRequest(this.apiService.getOutspendsBatched$, 250, batch); }));
return forkJoin(batches.map(batch => this.electrsApiService.getOutspendsBatched$(batch)));
} else {
return of([]);
}