Merge pull request #5864 from mempool/mononaut/stratum-network-support

Fix network change bug on stratum pages
This commit is contained in:
wiz
2025-04-09 15:47:48 +09:00
committed by GitHub

View File

@@ -327,6 +327,8 @@ export class StateService {
this.networkChanged$.subscribe((network) => {
this.transactions$ = new BehaviorSubject<TransactionStripped[]>(null);
this.stratumJobs$ = new BehaviorSubject<Record<string, StratumJob>>({});
this.stratumJobUpdate$.next({ state: {} });
this.blocksSubject$.next([]);
});