Skip to content

Commit

Permalink
allow production of version 3 blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestv committed Jun 26, 2015
1 parent 0dda66a commit ab7cfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/work.py
Expand Up @@ -369,7 +369,7 @@ def get_work(self, pubkey_hash, desired_share_target, desired_pseudoshare_target
self.last_work_shares.value[bitcoin_data.pubkey_hash_to_address(pubkey_hash, self.node.net.PARENT)]=share_info['bits']

ba = dict(
version=min(self.current_work.value['version'], 2),
version=min(self.current_work.value['version'], 3),
previous_block=self.current_work.value['previous_block'],
merkle_link=merkle_link,
coinb1=packed_gentx[:-self.COINBASE_NONCE_LENGTH-4],
Expand Down

0 comments on commit ab7cfb5

Please sign in to comment.