mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-17 10:51:00 +00:00
feat(legacy): add support for Taproot descriptors
This commit is contained in:
parent
fea240ed40
commit
2035ff4569
1
legacy/firmware/.changelog.d/1710.added
Normal file
1
legacy/firmware/.changelog.d/1710.added
Normal file
@ -0,0 +1 @@
|
||||
Support for Taproot descriptors
|
@ -61,7 +61,8 @@ void fsm_msgGetPublicKey(const GetPublicKey *msg) {
|
||||
}
|
||||
|
||||
if (coin->xpub_magic && (script_type == InputScriptType_SPENDADDRESS ||
|
||||
script_type == InputScriptType_SPENDMULTISIG)) {
|
||||
script_type == InputScriptType_SPENDMULTISIG ||
|
||||
script_type == InputScriptType_SPENDTAPROOT)) {
|
||||
hdnode_serialize_public(node, fingerprint, coin->xpub_magic, resp->xpub,
|
||||
sizeof(resp->xpub));
|
||||
} else if (coin->has_segwit &&
|
||||
|
Loading…
Reference in New Issue
Block a user