git://git.novaco.in
/
electrum-nvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
big refactoring of the interface
[electrum-nvc.git]
/
scripts
/
blocks
diff --git
a/scripts/blocks
b/scripts/blocks
index
67db84a
..
16aa5e7
100755
(executable)
--- a/
scripts/blocks
+++ b/
scripts/blocks
@@
-8,7
+8,7
@@
i.send([('blockchain.numblocks.subscribe',[])])
while True:
try:
- r = i.responses.get(True, 100000000000)
+ r = i.get_response()
except KeyboardInterrupt:
break
if r.get('method') == 'blockchain.numblocks.subscribe':