mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fetch by chainId instead of networkId (#717)
This commit is contained in:
parent
bea4f46c9a
commit
ae26afccfb
@ -46,7 +46,7 @@ export function getNetworkData(
|
||||
networkId: number
|
||||
): EthereumListsChain {
|
||||
const networkData = data.filter(
|
||||
({ node }: { node: EthereumListsChain }) => node.networkId === networkId
|
||||
({ node }: { node: EthereumListsChain }) => node.chainId === networkId
|
||||
)[0]
|
||||
return networkData.node
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user