fix
authorThomasV <thomasv@gitorious>
Wed, 4 Dec 2013 13:58:27 +0000 (17:58 +0400)
committerThomasV <thomasv@gitorious>
Wed, 4 Dec 2013 13:58:27 +0000 (17:58 +0400)
backends/bitcoind/blockchain_processor.py

index 875273f..6891c41 100644 (file)
@@ -967,7 +967,7 @@ class BlockchainProcessor(Processor):
                 break
 
             status = self.get_status(addr)
-            for session in self.watched_addresses[addr]:
+            for session in self.watched_addresses.get(addr,[]):
                 self.push_response(session, {
                         'id': None,
                         'method': 'blockchain.address.subscribe',