mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-24 00:17:23 +01:00
fix: lower case coin alias in BB_RUNNER_ variables
This commit is contained in:
3
.github/scripts/prepare_deploy_plan.py
vendored
3
.github/scripts/prepare_deploy_plan.py
vendored
@@ -26,7 +26,7 @@ def load_runner_map(vars_map: dict) -> dict:
|
||||
for key, value in vars_map.items():
|
||||
if not key.startswith(prefix):
|
||||
continue
|
||||
coin = key[len(prefix):].strip()
|
||||
coin = key[len(prefix):].strip().lower()
|
||||
runner = "" if value is None else str(value).strip()
|
||||
if coin and runner:
|
||||
mapping[coin] = runner
|
||||
@@ -53,6 +53,7 @@ def parse_requested_coins(raw: str, available: dict) -> list[str]:
|
||||
seen = set()
|
||||
result = []
|
||||
for coin in tokens:
|
||||
coin = coin.lower()
|
||||
if coin in seen:
|
||||
continue
|
||||
seen.add(coin)
|
||||
|
||||
Reference in New Issue
Block a user