We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adc101a commit 282cb69Copy full SHA for 282cb69
qa/rpc-tests/test_framework/blocktools.py
@@ -56,7 +56,7 @@ def create_coinbase(height, pubkey = None, dip4_activated=False):
56
if dip4_activated:
57
coinbase.nVersion = 3
58
coinbase.nType = 5
59
- cbtx_payload = CCbTx(1, height, 0)
+ cbtx_payload = CCbTx(2, height, 0, 0)
60
coinbase.vExtraPayload = cbtx_payload.serialize()
61
coinbase.calc_sha256()
62
return coinbase
0 commit comments