Skip to content

Commit 282cb69

Browse files
committed
Use version 2 CCbTx in create_coinbase to fix test failures
1 parent adc101a commit 282cb69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/rpc-tests/test_framework/blocktools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def create_coinbase(height, pubkey = None, dip4_activated=False):
5656
if dip4_activated:
5757
coinbase.nVersion = 3
5858
coinbase.nType = 5
59-
cbtx_payload = CCbTx(1, height, 0)
59+
cbtx_payload = CCbTx(2, height, 0, 0)
6060
coinbase.vExtraPayload = cbtx_payload.serialize()
6161
coinbase.calc_sha256()
6262
return coinbase

0 commit comments

Comments
 (0)