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
commit 8f99d2ba58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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