Skip to content

Commit f0796e4

Browse files
committed
Support testnet4 chain
Otherwise, HWI fails with the following error when used as a external signer for Bitcoin Core 28.0: {"error": "hwi.py: error: argument --chain: invalid choice: 'testnet4' (choose from main, test, regtest, signet)", "code": -2}
1 parent 3174515 commit f0796e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hwilib/common.py

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class Chain(Enum):
1818
TEST = 1 #: Bitcoin Test network
1919
REGTEST = 2 #: Bitcoin Core Regression Test network
2020
SIGNET = 3 #: Bitcoin Signet
21+
TESTNET4 = 4 #: Bitcoin Test network
2122

2223
def __str__(self) -> str:
2324
return str(self.name).lower()

0 commit comments

Comments
 (0)