mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
unsupported networks (#1678)
This commit is contained in:
parent
0c9b276247
commit
939c8aad0d
@ -10,6 +10,7 @@ export function getNetworkType(network: EthereumListsChain): string {
|
|||||||
// .network field, which is innexistent on https://chainid.network/chains.json
|
// .network field, which is innexistent on https://chainid.network/chains.json
|
||||||
// We hack in mainnet detection for moonriver.
|
// We hack in mainnet detection for moonriver.
|
||||||
if (
|
if (
|
||||||
|
network &&
|
||||||
!network.name.includes('Testnet') &&
|
!network.name.includes('Testnet') &&
|
||||||
!network.title?.includes('Testnet') &&
|
!network.title?.includes('Testnet') &&
|
||||||
network.name !== 'Moonbase Alpha'
|
network.name !== 'Moonbase Alpha'
|
||||||
|
Loading…
Reference in New Issue
Block a user