X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=backends%2Fbitcoind%2Fblockchain_processor.py;h=93177e1b18fe5e619954b461b014d84327670b29;hp=67cfba8b4aa1b33248fd9d0d9e39bdf781b7c770;hb=4201d2f120c4ed895f266a2d80cd8abcfc068e3b;hpb=73b4281ad0239629d99cb8705aea1172d0692787 diff --git a/backends/bitcoind/blockchain_processor.py b/backends/bitcoind/blockchain_processor.py index 67cfba8..93177e1 100644 --- a/backends/bitcoind/blockchain_processor.py +++ b/backends/bitcoind/blockchain_processor.py @@ -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)