diff --git a/common/tools/coin_info.py b/common/tools/coin_info.py index 58b3dcc812..79581e2fb2 100755 --- a/common/tools/coin_info.py +++ b/common/tools/coin_info.py @@ -232,7 +232,10 @@ def check_key( BTC_CHECKS = [ check_key("coin_name", str, regex=r"^[A-Z]"), check_key("coin_shortcut", str, regex=r"^t?[A-Z]{3,}$"), - check_key("coin_label", str, regex=r"^x?[A-Z]"), + # coin_label expects an uppercase first letter. This doesn't + # work for eCash and xRhodium, so an exception is added for the lowercase + # 'e' and 'x' only. + check_key("coin_label", str, regex=r"^[ex]?[A-Z]"), check_key("website", str, regex=r"^https://.*[^/]$"), check_key("github", str, regex=r"^https://git(hu|la)b.com/.*[^/]$"), check_key("maintainer", str),