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

pull/1547/head
mcudev 3 years ago committed by matejcik
parent cdcc1b949f
commit 23abf7aff0

@ -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")

Loading…
Cancel
Save