1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

cointool: add genesis block collision check

This commit is contained in:
matejcik 2019-01-16 13:52:18 +01:00
parent ecafb8642c
commit ad1bc863cb

View File

@ -266,6 +266,10 @@ def check_btc(coins):
# we ignore failed checks on P2SH, because reasons
print_collision_buckets(address_type_p2sh, "address type", logging.WARNING)
print("Checking genesis block collisions...")
genesis = find_collisions(coins, "hash_genesis_block")
print_collision_buckets(genesis, "genesis block", logging.WARNING)
return check_passed