commit ce6363a75419f549681be6ff46ced707ef75ac3d
parent d69b9ca2ec142b181c01e49a7a133210dfde12d5
Author: ThomasV <thomasv@gitorious>
Date: Fri, 9 Dec 2011 19:15:48 +0100
send version to server
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/electrum.py b/client/electrum.py
@@ -473,7 +473,7 @@ class Wallet:
return ast.literal_eval( self.request( repr ( ('poll', self.session_id ))))
def new_session(self):
- self.session_id, self.message = ast.literal_eval( self.request( repr ( ('session', repr(self.addresses)) )))
+ self.session_id, self.message = ast.literal_eval( self.request( repr ( ('new_session', repr( (self.electrum_version, self.addresses)) ))))
def update_session(self):
return self.request( repr ( ('update_session', repr((self.session_id,self.addresses)))))