When signing tapscript transactions, the SIGN_PSBT command returns pubkey||tapleaf_hash instead of just pubkey.
Cient library would be cleaner by replacing the older pubkey object with a structured object that always contains a pubkey (33-bytes if non-taproot, 32 byte if taproot) and optionally the tapleaf_hash (for taproot scripts only).
This is a breaking change for the client library, so it needs to be respected with the semver versioning.
When signing tapscript transactions, the SIGN_PSBT command returns
pubkey||tapleaf_hash
instead of justpubkey
. Cient library would be cleaner by replacing the olderpubkey
object with a structured object that always contains a pubkey (33-bytes if non-taproot, 32 byte if taproot) and optionally the tapleaf_hash (for taproot scripts only).This is a breaking change for the client library, so it needs to be respected with the semver versioning.