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

fix network name during network polling

This commit is contained in:
Matthias Kretschmann 2019-05-13 16:17:59 +02:00
parent f636170e3c
commit cbffc42bca
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

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