commit 55478e0d1fcdde0f85bbb2d97eac924038edbe6a
parent e8b14c35c3e8e15a280580c2d0c0ef58a0bc3fbd
Author: ThomasV <thomasv@gitorious>
Date: Tue, 20 Mar 2012 11:09:37 +0300
Merge branch 'master' of gitorious.org:electrum/electrum
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/client/interface.py b/client/interface.py
@@ -126,15 +126,14 @@ class Interface:
self.tx_event.set()
elif method == 'numblocks.subscribe':
- print "numblocks", result
self.blocks = result
if self.newblock_callback: apply(self.newblock_callback,(result,))
- elif method == 'ping':
+ elif method == 'client.version':
pass
else:
- print "received message:", method, params, result
+ print "unknown message:", method, params, result
def subscribe(self, addresses):
@@ -321,7 +320,7 @@ class HttpInterface(PollingInterface):
response = response_stream.read()
if response:
- print "response",response
+ #print "response",response
response = json.loads( response )
if type(response) is not type([]):
self.handle_json_response(response)