fix: rename method subscribe2
authorThomasV <thomasv@gitorious>
Sun, 4 Nov 2012 15:02:34 +0000 (19:02 +0400)
committerThomasV <thomasv@gitorious>
Sun, 4 Nov 2012 15:02:34 +0000 (19:02 +0400)
processor.py

index 839a770..3761332 100644 (file)
@@ -268,6 +268,9 @@ class ResponseDispatcher(threading.Thread):
         method = response.get('method')
         params = response.get('params')
 
+        if method == "blockchain.address.subscribe2":
+            method = "blockchain.address.subscribe"
+
         # A notification
         if internal_id is None: # and method is not None and params is not None:
             self.notification(method, params, response)