feat(legacy): add support for Taproot descriptors

pull/1856/head
Pavol Rusnak 3 years ago committed by Andrew Kozlik
parent fea240ed40
commit 2035ff4569

@ -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…
Cancel
Save