Merge pull request #4604 from mempool/simon/clear-tx-cache

Clear txCache when switching network
This commit is contained in:
softsimon
2024-01-23 23:47:40 +07:00
committed by GitHub

View File

@@ -40,6 +40,7 @@ export class CacheService {
this.stateService.networkChanged$.subscribe((network) => {
this.network = network;
this.resetBlockCache();
this.txCache = {};
});
}