diff --git a/packages/node-core/src/indexer/storeModelProvider/model/cacheModel.ts b/packages/node-core/src/indexer/storeModelProvider/model/cacheModel.ts index c9f11cf00d..3320b8aee6 100644 --- a/packages/node-core/src/indexer/storeModelProvider/model/cacheModel.ts +++ b/packages/node-core/src/indexer/storeModelProvider/model/cacheModel.ts @@ -180,10 +180,6 @@ export class CachedModel // Experimental, this means getCache keeps duplicate data from setCache, // we can remove this once memory is too full. this.getCache.set(id, copiedData); - // Handle remove cache, when removed data been created again - if (this.removeCache[id] && this.removeCache[id].removedAtBlock === blockHeight) { - delete this.removeCache[id]; - } this.flushableRecordCounter += 1; }