1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

python/trezorctl: make bitcoin regtest a supported coin for trezorctl btc get-descriptor

This commit is contained in:
mcudev 2021-03-25 10:33:15 -04:00 committed by matejcik
parent cdcc1b949f
commit 23abf7aff0

View File

@ -211,7 +211,7 @@ def _get_descriptor(client, coin, account, script_type, show_display):
if coin is None or coin == "Bitcoin":
coin_type = 0
elif coin == "Testnet":
elif coin == "Testnet" or coin == "Regtest":
coin_type = 1
else:
raise ValueError("Unsupported coin")