X-Git-Url: https://git.novaco.in/?p=p2pool.git;a=blobdiff_plain;f=p2pool%2Fdata.py;h=3ef75f4a7ac615bb28959c8a6e8da1b93d4ac838;hp=6df3e89303a6d3a366436bc8cf03e97fb63ae39c;hb=11d63ef66b9d9948861feb27f1c678a8297d0725;hpb=f5239b250ac0828482c25872f6ed6e01a7527916 diff --git a/p2pool/data.py b/p2pool/data.py index 6df3e89..3ef75f4 100644 --- a/p2pool/data.py +++ b/p2pool/data.py @@ -210,7 +210,7 @@ class NewShare(object): min_header=min_header, share_info=share_info, ref_merkle_link=dict(branch=[], index=0), - last_txout_nonce=last_txout_nonce*2**32, + last_txout_nonce=(last_txout_nonce%2**32*2**32)|(last_txout_nonce>>32), # XXX hash_link=prefix_to_hash_link(bitcoin_data.tx_type.pack(gentx)[:-32-8-4], cls.gentx_before_refhash), merkle_link=bitcoin_data.calculate_merkle_link([None] + other_transaction_hashes, 0), ))