Skip to content

Commit

Permalink
Use version 2 CCbTx in create_coinbase to fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Apr 4, 2019
1 parent adc101a commit 282cb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/rpc-tests/test_framework/blocktools.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def create_coinbase(height, pubkey = None, dip4_activated=False):
if dip4_activated:
coinbase.nVersion = 3
coinbase.nType = 5
cbtx_payload = CCbTx(1, height, 0)
cbtx_payload = CCbTx(2, height, 0, 0)
coinbase.vExtraPayload = cbtx_payload.serialize()
coinbase.calc_sha256()
return coinbase
Expand Down

0 comments on commit 282cb69

Please sign in to comment.