From c2df555f36f747963e1af4d6c8414e616d19aaf6 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Tue, 9 Sep 2025 11:27:04 +0000 Subject: [PATCH] tooltest2.py: add `privhex2pair` test --- test/tooltest2_d/data.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/tooltest2_d/data.py b/test/tooltest2_d/data.py index 673f33bc..07ed53a3 100755 --- a/test/tooltest2_d/data.py +++ b/test/tooltest2_d/data.py @@ -454,6 +454,14 @@ tests = { ([privhex7], btc_wif2, ['--type=bech32'], 'bech32'), ], }, + 'privhex2pair': { + 'btc_mainnet': [ + ([privhex7], [btc_wif1, btc_addr1], None, 'legacy'), + ([privhex7], [btc_wif2, btc_addr2], ['--type=compressed'], 'compressed'), + ([privhex7], [btc_wif2, btc_addr3], ['--type=segwit'], 'segwit'), + ([privhex7], [btc_wif2, btc_addr4], ['--type=bech32'], 'bech32'), + ], + }, 'privhex2addr': { 'btc_mainnet': [ ([privhex7], btc_addr1, None, 'legacy'),