fixup! added special "p2pool" MM target to match P2Pool share target
authorForrest Voight <forrest@forre.st>
Wed, 11 Apr 2012 21:08:15 +0000 (17:08 -0400)
committerForrest Voight <forrest@forre.st>
Wed, 11 Apr 2012 21:08:15 +0000 (17:08 -0400)
p2pool/main.py

index cbf2c77..022ab64 100644 (file)
@@ -526,7 +526,7 @@ def main(args, net, datadir_path, merged_urls, worker_endpoint):
                 else:
                     target = min(target, desired_pseudoshare_target)
                 target = max(target, share_info['bits'].target)
-                for aux_work in current_work.value['mm_chains'].itervalues():
+                for aux_work, index, hashes in mm_later:
                     target = max(target, aux_work['target'])
                 
                 transactions = [generate_tx] + list(current_work2.value['transactions'])