allow changing last_txout_nonce when finalizing share
[p2pool.git] / 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,