Beispiel #1
0
 def test_wif_checksum_check_test_success(self):
     assert wif_checksum_check(WALLET_FORMAT_TEST)
Beispiel #2
0
 def test_wif_checksum_check_main_success(self):
     assert wif_checksum_check(WALLET_FORMAT_MAIN)
Beispiel #3
0
 def test_wif_checksum_check_decode_failure(self):
     assert not wif_checksum_check(LITECOIN_ADDRESS[:-1])
Beispiel #4
0
 def test_wif_checksum_check_other_failure(self):
     assert not wif_checksum_check(LITECOIN_ADDRESS)
Beispiel #5
0
 def test_wif_checksum_check_compressed_success(self):
     assert wif_checksum_check(WALLET_FORMAT_COMPRESSED_MAIN)