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

Clear txCache when switching network
This commit is contained in:
softsimon authored and GitHub committed 2024-01-23 23:47:40 +07:00
commit 8f99d2ba58
1 file changed
+1
@@ -40,6 +40,7 @@ export class CacheService {
this.stateService.networkChanged$.subscribe((network) => {
this.network = network;
this.resetBlockCache();
this.txCache = {};
});
}