mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-29 02:48:18 +00:00
tools: fix checks in coin_info.py
This commit is contained in:
parent
6cb2863478
commit
206975fc6d
@ -110,7 +110,7 @@ BTC_CHECKS = [
|
||||
check_key("coin_shortcut", str, regex=r"^t?[A-Z]{3,}$"),
|
||||
check_key("coin_label", str, regex=r"^[A-Z]"),
|
||||
check_key("website", str, regex=r"^https://.*[^/]$"),
|
||||
check_key("github", str, regex=r"^https://github.com/.*[^/]$"),
|
||||
check_key("github", str, regex=r"^https://git(hu|la)b.com/.*[^/]$"),
|
||||
check_key("maintainer", str),
|
||||
check_key(
|
||||
"curve_name",
|
||||
@ -141,11 +141,11 @@ BTC_CHECKS = [
|
||||
check_key("dust_limit", int),
|
||||
check_key("blocktime_seconds", int),
|
||||
check_key("signed_message_header", str),
|
||||
check_key("uri_prefix", str, regex=r"^[a-z]+$"),
|
||||
check_key("uri_prefix", str, regex=r"^[a-z-\.\+]+$"),
|
||||
check_key("min_address_length", int),
|
||||
check_key("max_address_length", int),
|
||||
check_key("bech32_prefix", str, regex=r"^[a-z]+$", nullable=True),
|
||||
check_key("cashaddr_prefix", str, regex=r"^[a-z]+$", nullable=True),
|
||||
check_key("bech32_prefix", str, regex=r"^[a-z-\.\+]+$", nullable=True),
|
||||
check_key("cashaddr_prefix", str, regex=r"^[a-z-\.\+]+$", nullable=True),
|
||||
check_key("bitcore", list, empty=True),
|
||||
check_key("blockbook", list, empty=True),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user