mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-03-01 18:40:34 +00:00
add ropsten support (#88)
This commit is contained in:
parent
6efff292b3
commit
f1d64946bc
@ -28,6 +28,8 @@ const isReady = (network, environment) => {
|
||||
const formattedNetwork = network.toLowerCase();
|
||||
if (formattedNetwork.includes('main') || formattedNetwork.includes('live')) {
|
||||
if (environment === 'livenet') return true
|
||||
} else if(formattedNetwork.includes('ropsten')) {
|
||||
if (environment === 'testnet') return true
|
||||
}
|
||||
return formattedNetwork.includes(environment.toLowerCase());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user