mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 02:11:49 +01:00
Merge pull request #4604 from mempool/simon/clear-tx-cache
Clear txCache when switching network
This commit is contained in:
commit
8f99d2ba58
@ -40,6 +40,7 @@ export class CacheService {
|
||||
this.stateService.networkChanged$.subscribe((network) => {
|
||||
this.network = network;
|
||||
this.resetBlockCache();
|
||||
this.txCache = {};
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user