git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
73b4281
)
bugfix: quotes introduced in the pep8 commit
author
ThomasV
<thomasv@gitorious>
Mon, 28 Jan 2013 15:23:42 +0000 (19:23 +0400)
committer
ThomasV
<thomasv@gitorious>
Mon, 28 Jan 2013 15:23:42 +0000 (19:23 +0400)
backends/bitcoind/blockchain_processor.py
patch
|
blob
|
history
diff --git
a/backends/bitcoind/blockchain_processor.py
b/backends/bitcoind/blockchain_processor.py
index
67cfba8
..
93177e1
100644
(file)
--- 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)