stringify identifier to cope with all clients
authorForrest Voight <forrest@forre.st>
Fri, 29 Jul 2011 06:58:55 +0000 (02:58 -0400)
committerForrest Voight <forrest@forre.st>
Fri, 29 Jul 2011 06:58:55 +0000 (02:58 -0400)
p2pool/worker_interface.py

index c8b444d..f3c041e 100644 (file)
@@ -59,7 +59,7 @@ def merge(gw1, gw2, identifier=None):
         midstate=gw2['midstate'],
         hash1=gw1['hash1'],
         target=gw1['target'],
-        identifier=identifier,
+        identifier=str(identifier),
     )
 
 class LongPollingWorkerInterface(deferred_resource.DeferredResource):