Open timqi opened 6 months ago
Describe the bug It seems not right to check signature of taproot is valid by assert length of it equals 64: https://github.com/btclib-org/btclib/blob/da0cfc146545c1ec220901094c98e32690f255af/btclib/psbt/psbt_utils.py#L307
To Reproduce There is an example on how to make a valid taproot signature which length is not 64: https://github.com/bitcoinjs/bitcoinjs-lib/issues/1934
Environment (please complete the following information):
Will it support sign psbt from library?
Describe the bug It seems not right to check signature of taproot is valid by assert length of it equals 64: https://github.com/btclib-org/btclib/blob/da0cfc146545c1ec220901094c98e32690f255af/btclib/psbt/psbt_utils.py#L307
To Reproduce There is an example on how to make a valid taproot signature which length is not 64: https://github.com/bitcoinjs/bitcoinjs-lib/issues/1934
Environment (please complete the following information):