Closed LightRider5 closed 9 months ago
Witness program hash mismatch means that the script + cblock does not equal the taproot key for the output. Have you tried using verify_cblock
and taproot.verify_tx
to check if all the witness terms are valid?
Please feel free to reopen this if you are still having a problem.
I have this transaction created with tapscript according to the inscription example , decoded from hex:
When I try to broadcast the transaction I get this error: 'sendrawtransaction RPC error: {"code":-26,"message":"non-mandatory-script-verify-flag (Witness program hash mismatch)"}'