mirror of
https://github.com/mempool/mempool.git
synced 2025-09-29 13:53:10 +02:00
Merge pull request #5864 from mempool/mononaut/stratum-network-support
Fix network change bug on stratum pages
This commit is contained in:
@@ -327,6 +327,8 @@ export class StateService {
|
|||||||
|
|
||||||
this.networkChanged$.subscribe((network) => {
|
this.networkChanged$.subscribe((network) => {
|
||||||
this.transactions$ = new BehaviorSubject<TransactionStripped[]>(null);
|
this.transactions$ = new BehaviorSubject<TransactionStripped[]>(null);
|
||||||
|
this.stratumJobs$ = new BehaviorSubject<Record<string, StratumJob>>({});
|
||||||
|
this.stratumJobUpdate$.next({ state: {} });
|
||||||
this.blocksSubject$.next([]);
|
this.blocksSubject$.next([]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user