Skip to content

Commit

Permalink
tools: Add testnet4 support for reckless and hsmtool
Browse files Browse the repository at this point in the history
Changelog-Added: Support for Bitcoin `testnet4`
  • Loading branch information
ShahanaFarooqui committed Dec 13, 2024
1 parent f8f9c58 commit 4335275
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/hsmtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ int main(int argc, char *argv[])
next);
}

if (net && (streq(net, "testnet") || streq(net, "signet")))
if (net && (streq(net, "testnet") || streq(net, "testnet4") || streq(net, "signet")))
version = BIP32_VER_TEST_PRIVATE;
else if (net && !streq(net, "bitcoin"))
errx(ERROR_USAGE, "Network '%s' not supported."
Expand Down
2 changes: 1 addition & 1 deletion tools/reckless
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ if __name__ == '__main__':

NETWORK = 'regtest' if args.regtest else 'bitcoin'
SUPPORTED_NETWORKS = ['bitcoin', 'regtest', 'liquid', 'liquid-regtest',
'litecoin', 'signet', 'testnet']
'litecoin', 'signet', 'testnet', 'testnet4']
if args.version:
report_version()
elif args.cmd1 is None:
Expand Down

0 comments on commit 4335275

Please sign in to comment.