bugfix: quotes introduced in the pep8 commit
[electrum-server.git] / backends / bitcoind / blockchain_processor.py
index 67cfba8..93177e1 100644 (file)
@@ -744,7 +744,7 @@ class BlockchainProcessor(Processor):
 
     def invalidate_cache(self, address):
         with self.cache_lock:
-            if 'address' in self.history_cache:
+            if address in self.history_cache:
                 print_log("cache: invalidating", address)
                 self.history_cache.pop(address)