fix: cache command
[electrum-server.git] / backends / irc / __init__.py
index e153402..f0056d0 100644 (file)
@@ -204,7 +204,7 @@ class ServerProcessor(Processor):
 
         elif method == 'server.cache':
             p = self.dispatcher.request_dispatcher.processors['blockchain']
-            result = len(repr(p.store.tx_cache))
+            result = len(repr(p.history_cache))
 
         elif method == 'server.load':
             p = self.dispatcher.request_dispatcher.processors['blockchain']