I am attempting to signal a uncooked transaction with non-public key on bitcoin core on regtest.
Once I’m attempting to signal the transaction I am receiving this error: Witness program hash mismatch. Once I debugged my bitcoin-core transaction I seen the stack measurement is zero.
I verified my non-public keys are right.
My decode transaction:
{
"txid": "tx_id",
"hash": "tx_hash",
"model": 2,
"measurement": 157,
"vsize": 157,
"weight": 628,
"locktime": 0,
"vin": [
{
"txid": "tx_in_0",
"vout": 0,
"scriptSig": {
"asm": "",
"hex": ""
},
"sequence": 4294967295
}
],
"vout": [
{
"value": amount_out_0,
"n": 0,
"scriptPubKey": {
"asm": "<asm_0>",
"desc": "<desc_addr_0>,
"hex": "0014f508fe341dfe0fbbeb7a38b41e7d2681d2376697",
"address": "<address>",
"type": "witness_v0_keyhash"
}
},
{
"value": 0.00000000,
"n": 1,
"scriptPubKey": {
"asm": "OP_RETURN b48dfcd241e5894a8a5b8cef6782734481ee180ed3fd9d164e58307527e8f07082b12c5ba8baa3f05c66966334aea0eecbcb8f2bc5d14bfbddc332c1e39ca8c8",
"desc": "raw(6a40b48dfcd241e5894a8a5b8cef6782734481ee180ed3fd9d164e58307527e8f07082b12c5ba8baa3f05c66966334aea0eecbcb8f2bc5d14bfbddc332c1e39ca8c8)#en45fqnk",
"hex": "6a40b48dfcd241e5894a8a5b8cef6782734481ee180ed3fd9d164e58307527e8f07082b12c5ba8baa3f05c66966334aea0eecbcb8f2bc5d14bfbddc332c1e39ca8c8",
"type": "nulldata"
}
}
]
}