mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +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,
|
||||
"segwit": messages.InputScriptType.SPENDWITNESS,
|
||||
"p2shsegwit": messages.InputScriptType.SPENDP2SHWITNESS,
|
||||
"taproot": messages.InputScriptType.SPENDTAPROOT,
|
||||
"pkh": messages.InputScriptType.SPENDADDRESS,
|
||||
"wpkh": messages.InputScriptType.SPENDWITNESS,
|
||||
"sh-wpkh": messages.InputScriptType.SPENDP2SHWITNESS,
|
||||
@ -37,6 +38,7 @@ OUTPUT_SCRIPTS = {
|
||||
"address": messages.OutputScriptType.PAYTOADDRESS,
|
||||
"segwit": messages.OutputScriptType.PAYTOWITNESS,
|
||||
"p2shsegwit": messages.OutputScriptType.PAYTOP2SHWITNESS,
|
||||
"taproot": messages.OutputScriptType.PAYTOTAPROOT,
|
||||
"pkh": messages.OutputScriptType.PAYTOADDRESS,
|
||||
"wpkh": messages.OutputScriptType.PAYTOWITNESS,
|
||||
"sh-wpkh": messages.OutputScriptType.PAYTOP2SHWITNESS,
|
||||
|
Loading…
Reference in New Issue
Block a user