From c2d862303938330475b162c6f883f4ea48a2fd51 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 2 Aug 2022 11:38:31 +0200 Subject: [PATCH] fix(common): improve testnet detection for ethereum --- common/tools/coin_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tools/coin_info.py b/common/tools/coin_info.py index 0d7a6c98f..19625c134 100755 --- a/common/tools/coin_info.py +++ b/common/tools/coin_info.py @@ -738,7 +738,7 @@ def deduplicate_erc20(buckets: CoinBuckets, networks: Coins) -> None: as deprecated, with a deprecation pointing to the "main" token. """ - testnet_networks = {n["chain"] for n in networks if "Testnet" in n["name"]} + testnet_networks = {n["chain"] for n in networks if n["slip44"] == 1} def clear_bucket(bucket: Coins) -> None: # allow all coins, except those that are explicitly marked through overrides