Merge pull request #5380 from mempool/simon/1w-1m

fixes crash with missing pool partner
This commit is contained in:
wiz authored and GitHub committed 2024-07-28 14:40:50 -05:00
commit d02a2ccf65
1 file changed
+1 -1
@@ -844,7 +844,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
}
if (this.isAcceleration) {
// this immediately returns cached stats if we fetched them recently
this.miningService.getMiningStats('1w').subscribe(stats => {
this.miningService.getMiningStats('1m').subscribe(stats => {
this.miningStats = stats;
this.isAccelerated$.next(this.isAcceleration); // hack to trigger recalculation of ETA without adding another source observable
});