From 23abf7aff07c3299862d5e6356c144dc32258c01 Mon Sep 17 00:00:00 2001 From: mcudev <29890609+mcudev@users.noreply.github.com> Date: Thu, 25 Mar 2021 10:33:15 -0400 Subject: [PATCH] python/trezorctl: make bitcoin regtest a supported coin for trezorctl btc get-descriptor --- python/src/trezorlib/cli/btc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/trezorlib/cli/btc.py b/python/src/trezorlib/cli/btc.py index 1ebffd118..98dd0ca0c 100644 --- a/python/src/trezorlib/cli/btc.py +++ b/python/src/trezorlib/cli/btc.py @@ -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")