mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
fix(python): accept also "taproot" for taproot scripts in cli
[no changelog]
This commit is contained in:
parent
298db6c9aa
commit
0fc3b32b7e
@ -27,6 +27,7 @@ INPUT_SCRIPTS = {
|
|||||||
"address": messages.InputScriptType.SPENDADDRESS,
|
"address": messages.InputScriptType.SPENDADDRESS,
|
||||||
"segwit": messages.InputScriptType.SPENDWITNESS,
|
"segwit": messages.InputScriptType.SPENDWITNESS,
|
||||||
"p2shsegwit": messages.InputScriptType.SPENDP2SHWITNESS,
|
"p2shsegwit": messages.InputScriptType.SPENDP2SHWITNESS,
|
||||||
|
"taproot": messages.InputScriptType.SPENDTAPROOT,
|
||||||
"pkh": messages.InputScriptType.SPENDADDRESS,
|
"pkh": messages.InputScriptType.SPENDADDRESS,
|
||||||
"wpkh": messages.InputScriptType.SPENDWITNESS,
|
"wpkh": messages.InputScriptType.SPENDWITNESS,
|
||||||
"sh-wpkh": messages.InputScriptType.SPENDP2SHWITNESS,
|
"sh-wpkh": messages.InputScriptType.SPENDP2SHWITNESS,
|
||||||
@ -37,6 +38,7 @@ OUTPUT_SCRIPTS = {
|
|||||||
"address": messages.OutputScriptType.PAYTOADDRESS,
|
"address": messages.OutputScriptType.PAYTOADDRESS,
|
||||||
"segwit": messages.OutputScriptType.PAYTOWITNESS,
|
"segwit": messages.OutputScriptType.PAYTOWITNESS,
|
||||||
"p2shsegwit": messages.OutputScriptType.PAYTOP2SHWITNESS,
|
"p2shsegwit": messages.OutputScriptType.PAYTOP2SHWITNESS,
|
||||||
|
"taproot": messages.OutputScriptType.PAYTOTAPROOT,
|
||||||
"pkh": messages.OutputScriptType.PAYTOADDRESS,
|
"pkh": messages.OutputScriptType.PAYTOADDRESS,
|
||||||
"wpkh": messages.OutputScriptType.PAYTOWITNESS,
|
"wpkh": messages.OutputScriptType.PAYTOWITNESS,
|
||||||
"sh-wpkh": messages.OutputScriptType.PAYTOP2SHWITNESS,
|
"sh-wpkh": messages.OutputScriptType.PAYTOP2SHWITNESS,
|
||||||
|
Loading…
Reference in New Issue
Block a user