{"id": null, "method":"blockchain.numblocks.subscribe", "params": [171462]}
[electrum-server.git] / backends / libbitcoin / __init__.py
index f1664c9..0687092 100644 (file)
@@ -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)