Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #7993: Test networks are not displayed in BSS network dropdown (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nuo-xu committed Aug 29, 2023
1 parent 0ea93cf commit d86b2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/BraveWallet/Crypto/Stores/NetworkStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public class NetworkStore: ObservableObject {

@MainActor private func updateChainList() async {
// fetch all networks for all coin types
self.allChains = await rpcService.allNetworksForSupportedCoins()
self.allChains = await rpcService.allNetworksForSupportedCoins(respectTestnetPreference: false)

let customChainIds = await rpcService.customNetworks(.eth) // only support Ethereum custom chains
self.customChains = allChains.filter { customChainIds.contains($0.chainId) }
Expand Down

0 comments on commit d86b2cc

Please sign in to comment.