commit a61d0bd03c541e7ef8cac4ae31102c546e450d23
parent 49c422db673f91632733cf2b45d521315becaf2f
Author: ThomasV <thomasv@gitorious>
Date: Wed, 28 Mar 2012 23:29:53 +0200
fix
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/interface.py b/client/interface.py
@@ -159,13 +159,13 @@ class NativeInterface(PollingInterface):
def start_session(self, addresses, version):
self.send([('session.new', [ version, addresses ])] )
- self.send([('server.peers',[])])
+ self.send([('server.peers.subscribe',[])])
thread.start_new_thread(self.poll_thread, (5,))
def send(self, messages):
import time
cmds = {'session.new':'new_session',
- 'server.peers':'peers',
+ 'server.peers.subscribe':'peers',
'session.poll':'poll',
'blockchain.transaction.broadcast':'tx',
'blockchain.address.get_history':'h',