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:
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…
Reference in New Issue
Block a user