Skip to content

Commit

Permalink
Do not put general_data_cache when reading from the DB
Browse files Browse the repository at this point in the history
  • Loading branch information
wizz-wallet-dev committed Dec 11, 2024
1 parent 8060bb1 commit 86cc02a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions electrumx/server/block_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,6 @@ def get_general_data_with_cache(self, key):
cache = self.general_data_cache.get(key)
if not cache:
cache = self.db.get_general_data(key)
if cache:
self.general_data_cache[key] = cache
return cache

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

0 comments on commit 86cc02a

Please sign in to comment.