work
authorforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Mon, 13 Jun 2011 01:03:41 +0000 (01:03 +0000)
committerforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Mon, 13 Jun 2011 01:03:41 +0000 (01:03 +0000)
git-svn-id: svn://forre.st/p2pool@1265 470744a7-cac9-478e-843e-5ec1b25c69e8

p2p.py

diff --git a/p2p.py b/p2p.py
index 63bf441..4f97944 100644 (file)
--- a/p2p.py
+++ b/p2p.py
@@ -50,8 +50,4 @@ class Node(node.Node):
     
     @node.rpcmethod
     def get_blocks(self, chain_id, _rpcNodeID, _rpcNodeContact):
-        try:
-            self.getBlocksCallback(chain_id, _rpcNodeContact)
-        except:
-            import traceback
-            traceback.print_exc()
+        self.getBlocksCallback(tuple(chain_id), _rpcNodeContact)