fix(common): improve testnet detection for ethereum

pull/2425/head
matejcik 2 years ago committed by matejcik
parent 1712794947
commit c2d8623039

@ -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

Loading…
Cancel
Save