tooltest2.py: add privhex2pair test

This commit is contained in:
The MMGen Project 2025-09-09 11:27:04 +00:00
commit c2df555f36
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -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'),