mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-30 03:18:20 +00:00
tools: take coin_label for human readable name instead of coin_name
This commit is contained in:
parent
265935811e
commit
8065966e57
@ -193,7 +193,7 @@ def _load_btc_coins():
|
|||||||
for filename in glob.glob(os.path.join(DEFS_DIR, "coins", "*.json")):
|
for filename in glob.glob(os.path.join(DEFS_DIR, "coins", "*.json")):
|
||||||
coin = load_json(filename)
|
coin = load_json(filename)
|
||||||
coin.update(
|
coin.update(
|
||||||
name=coin["coin_name"],
|
name=coin["coin_label"],
|
||||||
shortcut=coin["coin_shortcut"],
|
shortcut=coin["coin_shortcut"],
|
||||||
key="bitcoin:{}".format(coin["coin_shortcut"]),
|
key="bitcoin:{}".format(coin["coin_shortcut"]),
|
||||||
icon=filename.replace(".json", ".png"),
|
icon=filename.replace(".json", ".png"),
|
||||||
|
Loading…
Reference in New Issue
Block a user