reorganization
authorforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Wed, 15 Jun 2011 21:27:18 +0000 (21:27 +0000)
committerforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Wed, 15 Jun 2011 21:27:18 +0000 (21:27 +0000)
git-svn-id: svn://forre.st/p2pool@1299 470744a7-cac9-478e-843e-5ec1b25c69e8

main.py

diff --git a/main.py b/main.py
index 902d649..c4caa95 100644 (file)
--- a/main.py
+++ b/main.py
@@ -336,9 +336,9 @@ def main(args):
             if transactions is None:
                 print "Couldn't link returned work's merkle root with transactions - should only happen if you recently restarted p2pool"
                 return False
-            block = dict(header=header, txns=transactions)
+            share = p2pool.Share(header=header, txns=transactions)
             try:
-                return p2pCallback(block)
+                return p2pCallback(share)
             except:
                 print
                 print 'Error processing data received from worker:'