1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

Duero network name

This commit is contained in:
Matthias Kretschmann 2019-05-14 12:53:43 +02:00
parent 807723be35
commit 42dcb8c584
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -258,7 +258,7 @@ export default class UserProvider extends PureComponent<{}, UserProviderState> {
if (isWeb3) { if (isWeb3) {
const network = await ocean.keeper.getNetworkName() const network = await ocean.keeper.getNetworkName()
const isNile = network === 'Nile' const isNile = network === 'Nile'
const isDuero = network === 'Development' const isDuero = network === 'Duero'
const isOceanNetwork = isNile || isDuero const isOceanNetwork = isNile || isDuero
network !== this.state.network && network !== this.state.network &&