From 1d5824a5b71653a720422ed6a76dff2de3bb70f3 Mon Sep 17 00:00:00 2001 From: genjix Date: Mon, 23 Apr 2012 01:17:54 +0100 Subject: [PATCH] {"id": null, "method":"blockchain.numblocks.subscribe", "params": [171462]} NOT {"id": null, "method":"blockchain.numblocks.subscribe", "result": 171462} --- backends/libbitcoin/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backends/libbitcoin/__init__.py b/backends/libbitcoin/__init__.py index f1664c9..0687092 100644 --- a/backends/libbitcoin/__init__.py +++ b/backends/libbitcoin/__init__.py @@ -247,7 +247,7 @@ class NumblocksSubscribe: latest = fork_point + len(arrivals) self.latest.set(latest) response = {"id": None, "method": "blockchain.numblocks.subscribe", - "result": latest} + "params": [latest]} self.processor.push_response(response) self.backend.blockchain.subscribe_reorganize(self.reorganize) -- 1.7.1