electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 25876d75213ca881599e8499a1945f3c3d8e3dff
parent c5b122a779dc2c085739c97609cbe13b403db1b6
Author: ThomasV <thomasv@gitorious>
Date:   Mon, 19 Mar 2012 21:26:28 +0300

cleanup

Diffstat:
Mserver/server.py | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/server/server.py b/server/server.py @@ -974,14 +974,13 @@ def http_server_thread(store): server.register_function(clear_cache, 'clear_cache') server.register_function(get_cache, 'get_cache') server.register_function(get_banner, 'server.banner') - server.register_function(send_tx, 'transaction.broadcast') + server.register_function(lambda a,b,c: send_tx(c), 'transaction.broadcast') server.register_function(address_get_history_json, 'address.get_history') server.register_function(add_address_to_session_json, 'address.subscribe') - server.register_function(create_session_json, 'session.create') #internal message - server.register_function(poll_session_json, 'session.poll') server.register_function(subscribe_to_numblocks_json, 'numblocks.subscribe') server.register_function(client_version_json, 'client.version') - server.register_function(lambda a,b:None, 'ping') + server.register_function(create_session_json, 'session.create') # internal message (not part of protocol) + server.register_function(poll_session_json, 'session.poll') # internal message (not part of protocol) server.serve_forever()