allow changing last_txout_nonce when finalizing share
authorForrest Voight <forrest.voight@gmail.com>
Fri, 28 Dec 2012 09:29:28 +0000 (04:29 -0500)
committerForrest Voight <forrest.voight@gmail.com>
Fri, 28 Dec 2012 09:43:29 +0000 (04:43 -0500)
p2pool/data.py

index cb5f4b9..621f7c2 100644 (file)
@@ -198,7 +198,7 @@ class Share(object):
             lock_time=0,
         )
         
-        def get_share(header):
+        def get_share(header, last_txout_nonce=last_txout_nonce):
             min_header=dict(header);del min_header['merkle_root']
             return cls(net, None, dict(
                 min_header=min_header,