Closed jonasmartin closed 6 months ago
Hi @karask
I was facing some problems when I was trying to reveal a script from a taproot with this error: -26: non-mandatory-script-verify-flag (Witness program hash mismatch)
-26: non-mandatory-script-verify-flag (Witness program hash mismatch)
I think it might be related with this pending todo: https://github.com/karask/python-bitcoin-utils/blob/master/TODO#L13 that I'm trying to address here.
Also I think it might be related with this issue: https://github.com/karask/python-bitcoin-utils/issues/63
I'm not 100% sure if this is the proper solution but at least, it fixes the problem for me.
Hi @jonasmartin
Thanks for this! I will check the BIP and review as soon as possible.
Everything seems in order. Merged and thanks for the contribution.
Hi @karask
I was facing some problems when I was trying to reveal a script from a taproot with this error:
-26: non-mandatory-script-verify-flag (Witness program hash mismatch)
I think it might be related with this pending todo: https://github.com/karask/python-bitcoin-utils/blob/master/TODO#L13 that I'm trying to address here.
Also I think it might be related with this issue: https://github.com/karask/python-bitcoin-utils/issues/63
I'm not 100% sure if this is the proper solution but at least, it fixes the problem for me.