1
0
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:
mihaisc 2021-07-07 06:52:56 -07:00 committed by GitHub
parent bea4f46c9a
commit ae26afccfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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