diff --git a/python/src/trezorlib/cli/btc.py b/python/src/trezorlib/cli/btc.py index 1e82f9d83..39fe4696c 100644 --- a/python/src/trezorlib/cli/btc.py +++ b/python/src/trezorlib/cli/btc.py @@ -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,