fixes crash with missing pool partner

fixes #5379
This commit is contained in:
softsimon 2024-07-28 14:10:28 -05:00
parent e3af4ea61c
commit e3bb812203
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -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
});