mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
cointool: add genesis block collision check
This commit is contained in:
parent
ecafb8642c
commit
ad1bc863cb
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user