Skip to content

Commit 24e0929

Browse files
tools: Add testnet4 support for reckless and hsmtool
Changelog-Added: Support for Bitcoin `testnet4`
1 parent e731170 commit 24e0929

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/hsmtool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ int main(int argc, char *argv[])
860860
next);
861861
}
862862

863-
if (net && (streq(net, "testnet") || streq(net, "signet")))
863+
if (net && (streq(net, "testnet") || streq(net, "testnet4") || streq(net, "signet")))
864864
version = BIP32_VER_TEST_PRIVATE;
865865
else if (net && !streq(net, "bitcoin"))
866866
errx(ERROR_USAGE, "Network '%s' not supported."

tools/reckless

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ if __name__ == '__main__':
17571757

17581758
NETWORK = 'regtest' if args.regtest else 'bitcoin'
17591759
SUPPORTED_NETWORKS = ['bitcoin', 'regtest', 'liquid', 'liquid-regtest',
1760-
'litecoin', 'signet', 'testnet']
1760+
'litecoin', 'signet', 'testnet', 'testnet4']
17611761
if args.version:
17621762
report_version()
17631763
elif args.cmd1 is None:

0 commit comments

Comments
 (0)