git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a8e64cf
)
{"id": null, "method":"blockchain.numblocks.subscribe", "params": [171462]}
author
genjix
<fake@lol.u>
Mon, 23 Apr 2012 00:17:54 +0000 (
01:17
+0100)
committer
genjix
<fake@lol.u>
Mon, 23 Apr 2012 00:17:54 +0000 (
01:17
+0100)
NOT
{"id": null, "method":"blockchain.numblocks.subscribe", "result": 171462}
backends/libbitcoin/__init__.py
patch
|
blob
|
history
diff --git
a/backends/libbitcoin/__init__.py
b/backends/libbitcoin/__init__.py
index
f1664c9
..
0687092
100644
(file)
--- 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)