Skip to content

Commit

Permalink
witness commitment resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudarshan-21 committed May 1, 2024
1 parent 2e73451 commit 8172226
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,20 +390,20 @@ def create_coinbase(wTXID_commit, block_Height):
}
],
"vout": [
{
"scriptpubkey": "76a914acd783f632ad040fc72d9a06ec17ffb2d8a97a5d88ac",
"scriptpubkey_asm": "OP_DUP OP_HASH160 OP_PUSHBYTES_20 acd783f632ad040fc72d9a06ec17ffb2d8a97a5d OP_EQUALVERIFY OP_CHECKSIG",
"scriptpubkey_type": "p2pkh",
"scriptpubkey_address": "1GkuQGoy1erCJfQKY9AGC75rttCBQRtGer",
"value": 0
},
{
"scriptpubkey": "6a24aa21a9ed"+ wTXID_commit,
"scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 56789b58e00f0a9e866e2a4ea0b0d97e839c4b0d",
"scriptpubkey_type": "v0_p2wpkh",
"scriptpubkey_address": "bc1q2eufkk8qpu9fapnw9f82pvxe06pecjcd7ea2x0",
"value": 0
}
},
{
"scriptpubkey": "76a914acd783f632ad040fc72d9a06ec17ffb2d8a97a5d88ac",
"scriptpubkey_asm": "OP_DUP OP_HASH160 OP_PUSHBYTES_20 acd783f632ad040fc72d9a06ec17ffb2d8a97a5d OP_EQUALVERIFY OP_CHECKSIG",
"scriptpubkey_type": "p2pkh",
"scriptpubkey_address": "1GkuQGoy1erCJfQKY9AGC75rttCBQRtGer",
"value": 0
}
],
"witness": [{
"0": {
Expand Down
6 changes: 3 additions & 3 deletions output.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
0000000400000000000000000000000000000000000000000000000000000000000000001896b945298ae8497eca50ed2fa90673a2d67eb085a7f88f422dac2fc5dd15a1e67f3166ffff001f861a0000
020000000001010000000000000000000000000000000000000000000000000000000000000000010000000d03951a0610076c0000946e0100000000000200000000000000001976a914acd783f632ad040fc72d9a06ec17ffb2d8a97a5d88ac0000000000000000266a24aa21a9ed1ef5192773bb609ffbddfcb41c128963d584af8e9cc2fab9f1c756cf3724e74a0120000000000000000000000000000000000000000000000000000000000000000000000000
f3c3f2851497e2c193422533fdc36689701a89f567d15046c3fe9f5f3afa0513
0000000400000000000000000000000000000000000000000000000000000000000000008c051b53b1757da1a8a95187859407be04628aa5bb8af20e960f92bef142b7741c873166ffff001f0ba60300
020000000001010000000000000000000000000000000000000000000000000000000000000000010000000d03951a0610076c0000946e010000000000020000000000000000266a24aa21a9ed1ef5192773bb609ffbddfcb41c128963d584af8e9cc2fab9f1c756cf3724e74a00000000000000001976a914acd783f632ad040fc72d9a06ec17ffb2d8a97a5d88ac0120000000000000000000000000000000000000000000000000000000000000000000000000
331a3ba420228f74a3f2a456bfffb7f0ac6ecd394c43df733e5b1ade235298a0
25ce6b8d39d02471c43a804569a72015e81f3400170c1b8f5418e6938cd60b74
34845a0f5eca756d7768ee2f03186ec4d73d86f9ebeaaf96abddf8bb733641b6
93bba324688af65b727f0c9c08f0fb45e2a2389b269939b1414f4818b071c598
Expand Down

0 comments on commit 8172226

Please sign in to comment.