Skip to content

Commit 86cc02a

Browse files
Do not put general_data_cache when reading from the DB
1 parent 8060bb1 commit 86cc02a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

electrumx/server/block_processor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,6 @@ def get_general_data_with_cache(self, key):
580580
cache = self.general_data_cache.get(key)
581581
if not cache:
582582
cache = self.db.get_general_data(key)
583-
if cache:
584-
self.general_data_cache[key] = cache
585583
return cache
586584

587585
# Get the mint information and LRU cache it for fast retrieval

0 commit comments

Comments
 (0)